// Decode retrieves the next frame from the input stream. The frame pointer
// should be non nil. If the input is at EOF, it returns the error io.EOF.
Decode retrieves the next frame from the input stream. The frame pointer
should be non nil. If the input is at EOF, it returns the error io.EOF.
// Decode retrieves the next frame from the input stream . The frame pointer // should be non nil . If the input is at EOF it returns the error io . EOF .
func (fd *FrameDecoder) Decode(framep *Frame) error {
	if framep == nil {
		return errors.New("frame decoding: attempt to decode into nil pointer")
	}
	var err error
	for err = fd.gbd.Decode(&framep); err != nil && err != io.EOF; {
		err = fd.gbd.Decode(&framep)
	}
	return err
}
func ( fd * FrameDecoder ) Decode ( framep * Frame ) error { if framep == nil { return errors . New ( " " ) } var err error for err = fd . gbd . Decode ( & framep ) ; err != nil && err != io . EOF ; { err = fd . gbd . Decode ( & framep ) } return err }
Decode retrieves the next frame from the input stream.
Decode retrieves the next frame from the input stream .