// ReadFrameHeader reads 27 bytes from r and returns a FrameHeader.
ReadFrameHeader reads 27 bytes from r and returns a FrameHeader.
// ReadFrameHeader reads 27 bytes from r and returns a FrameHeader .
func (fr *Framer) ReadFrameHeader(r io.Reader) (FrameHeader, error) {
	bufp := fhBytes.Get().(*[]byte)
	defer fhBytes.Put(bufp)
	return readFrameHeader(*bufp, r)
}
func ( fr * Framer ) ReadFrameHeader ( r io . Reader ) ( FrameHeader , error ) { bufp := fhBytes . Get ( ) . ( * [ ] byte ) defer fhBytes . Put ( bufp ) return readFrameHeader ( * bufp , r ) }
ReadFrameHeader reads 27 bytes from r and returns a FrameHeader.
ReadFrameHeader reads 27 bytes from r and returns a FrameHeader .