(typ super.Type)
| 23 | } |
| 24 | |
| 25 | func NewBytesEncoder(typ super.Type) *BytesEncoder { |
| 26 | return &BytesEncoder{ |
| 27 | typ: typ, |
| 28 | offsets: newOffsetsEncoder(), |
| 29 | } |
| 30 | } |
| 31 | |
| 32 | func (b *BytesEncoder) Write(vec vector.Any) { |
| 33 | if vec.Len() == 0 { |
no test coverage detected