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

Function EncodeUint

primitive.go:181–185  ·  view source on GitHub ↗
(i uint64)

Source from the content-addressed store, hash-verified

179}
180
181func EncodeUint(i uint64) scode.Bytes {
182 var b [8]byte
183 n := scode.EncodeCountedUvarint(b[:], i)
184 return b[:n]
185}
186
187func AppendUint(bytes scode.Bytes, i uint64) scode.Bytes {
188 return scode.AppendCountedUvarint(bytes, i)

Callers 13

SerializeMethod · 0.92
encodeAnyMethod · 0.92
BuildPrimitiveFunction · 0.92
buildEnumFunction · 0.92
ResultAsPartialMethod · 0.92
EvalMethod · 0.92
BenchmarkSortFunction · 0.92
ResultAsPartialMethod · 0.92
GenValueFunction · 0.92
buildScodeMethod · 0.92
decodeEnumMethod · 0.92
BeginUnionFunction · 0.85

Calls 1

EncodeCountedUvarintFunction · 0.92

Tested by 1

BenchmarkSortFunction · 0.74