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

Function DecodeInt

primitive.go:191–193  ·  view source on GitHub ↗
(zv scode.Bytes)

Source from the content-addressed store, hash-verified

189}
190
191func DecodeInt(zv scode.Bytes) int64 {
192 return scode.DecodeCountedVarint(zv)
193}
194
195func DecodeUint(zv scode.Bytes) uint64 {
196 return scode.DecodeCountedUvarint(zv)

Callers 8

BenchmarkReadBSUPFunction · 0.92
WriteMethod · 0.92
formatPrimitiveFunction · 0.92
loadAnyWithLockMethod · 0.92
ComparisonFunction · 0.92
buildArrowValueMethod · 0.92
IntMethod · 0.85
DecodeDurationFunction · 0.85

Calls 1

DecodeCountedVarintFunction · 0.92

Tested by 1

BenchmarkReadBSUPFunction · 0.74