func (b *bulkReader) Close() error {
	if b.wait != nil {
		<-b.wait
	}

	if b.n <= 0 {
		return nil
	}

	err := b.buff.skipN(b.n)
	b.n = 0
	return err
}
// Close discards any unread data
Close discards any unread data
// Close discards any unread data
func (b *bulkReader) Close() error {
	if b.wait != nil {
		<-b.wait
	}
	if b.n <= 0 {
		return nil
	}
	err := b.buff.skipN(b.n)
	b.n = 0
	return err
}
func ( b * bulkReader ) Close ( ) error { if b . wait != nil { <- b . wait } if b . n <= 0 { return nil } err := b . buff . skipN ( b . n ) b . n = 0 return err }
Close discards any unread data
Close discards any unread data