Searched defs:FrameHeader (Results 1 – 2 of 2) sorted by relevance
9 type FrameHeader struct { struct10 Length int11 Type FrameType12 Flags byte13 Reserved Reserved14 StreamID26 func (fh *FrameHeader) Parse(r io.Reader) error {34 func (fh *FrameHeader) UnmarshalBinary(b []byte) error {48 func (fh *FrameHeader) MarshalBinary() ([]byte, error) {
150 type FrameHeader struct { struct151 valid bool // caller can access []byte fields in the Frame156 Type FrameType160 Flags Flags165 Length uint32169 StreamID uint32174 func (h FrameHeader) Header() FrameHeader { return h }176 func (h FrameHeader) String() string {184 func (h FrameHeader) writeDebug(buf *bytes.Buffer) {211 func (h *FrameHeader) checkValid() {[all …]