MCPcopy Create free account
hub / github.com/brimdata/super / NewBytesEncoder

Function NewBytesEncoder

csup/bytes.go:25–30  ·  view source on GitHub ↗
(typ super.Type)

Source from the content-addressed store, hash-verified

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

Callers 2

NewPrimitiveEncoderFunction · 0.85
DictMethod · 0.85

Calls 1

newOffsetsEncoderFunction · 0.85

Tested by

no test coverage detected