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

Function NewBytesTable

vector/bytes.go:72–74  ·  view source on GitHub ↗
(offsets []uint32, bytes []byte)

Source from the content-addressed store, hash-verified

70}
71
72func NewBytesTable(offsets []uint32, bytes []byte) BytesTable {
73 return BytesTable{offsets, bytes}
74}
75
76func NewBytesTableEmpty(cap uint32) BytesTable {
77 return BytesTable{make([]uint32, 1, cap+1), nil}

Callers 8

loadAnyWithLockMethod · 0.92
loadMethod · 0.92
bytesOrStringVecMethod · 0.92
castToStringFunction · 0.92
materializeMethod · 0.92
buildMethod · 0.92
newBytesTableWithValueFunction · 0.85
BuildMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected