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

Method UnsafeString

vector/bytes.go:96–98  ·  view source on GitHub ↗
(slot uint32)

Source from the content-addressed store, hash-verified

94}
95
96func (b BytesTable) UnsafeString(slot uint32) string {
97 return byteconv.UnsafeString(b.bytes[b.offsets[slot]:b.offsets[slot+1]])
98}
99
100func (b BytesTable) Slices() ([]uint32, []byte) {
101 return b.offsets, b.bytes

Callers 2

stringToIntFunction · 0.80
stringToUintFunction · 0.80

Calls 1

UnsafeStringFunction · 0.92

Tested by

no test coverage detected