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

Method Write

vector/builder.go:354–359  ·  view source on GitHub ↗
(bytes scode.Bytes)

Source from the content-addressed store, hash-verified

352}
353
354func (b *boolBuilder) Write(bytes scode.Bytes) {
355 if super.DecodeBool(bytes) {
356 b.values.Add(b.n)
357 }
358 b.n++
359}
360
361func (b *boolBuilder) Build(sctx *super.Context) Any {
362 bits := make([]uint64, (b.n+63)/64)

Callers

nothing calls this directly

Calls 2

DecodeBoolFunction · 0.92
AddMethod · 0.45

Tested by

no test coverage detected