func (f *Frame) ReadIn(r io.Reader) error {
	header := make([]byte, FrameHeaderSize)
	if _, err := io.ReadFull(r, header); err != nil {
		return err
	}

	return f.ReadBody(header, r)
}
func (f *Frame) ReadIn(r io.Reader) error {
	header := make([]byte, FrameHeaderSize)
	if _, err := io.ReadFull(r, header); err != nil {
		return err
	}

	return f.ReadBody(header, r)
}
func ( f * Frame ) ReadIn ( r io . Reader ) error { header := make ( [ ] byte , FrameHeaderSize ) if _ , err := io . ReadFull ( r , header ) ; err != nil { return err } return f . ReadBody ( header , r ) }
// ReadIn reads the frame from the given io.Reader.
// Deprecated: Only maintained for backwards compatibility. Callers should
// use ReadBody instead.
ReadIn reads the frame from the given io . Reader . Deprecated : Only maintained for backwards compatibility . Callers should use ReadBody instead .