package wire

import (
	

	
)

// A PathResponseFrame is a PATH_RESPONSE frame
type PathResponseFrame struct {
	Data [8]byte
}

func parsePathResponseFrame( []byte,  protocol.Version) (*PathResponseFrame, int, error) {
	 := &PathResponseFrame{}
	if len() < 8 {
		return nil, 0, io.EOF
	}
	copy(.Data[:], )
	return , 8, nil
}

func ( *PathResponseFrame) ( []byte,  protocol.Version) ([]byte, error) {
	 = append(, pathResponseFrameType)
	 = append(, .Data[:]...)
	return , nil
}

// Length of a written frame
func ( *PathResponseFrame) ( protocol.Version) protocol.ByteCount {
	return 1 + 8
}