package
0.0.0-20241015184336-d78f8be1ba06
Repository: https://github.com/dicedb/dice.git
Documentation: pkg.go.dev
# Functions
DecodeInt decodes the array of bytes and returns a signed 64-bit integer.
DecodeUInt decodes the array of bytes and returns an unsigned 64-bit integer.
DecodeUIntRev decodes the varint encoded by EncodeUIntRev[InPlace].
EncodeInt encodes the signed 64-bit integer value into a varint and returns an array of bytes (little endian encoded).
EncodeUInt encodes the unsigned 64-bit integer value into a varint and returns an array of bytes (little endian encoded).
EncodeUIntRevInPlace encodes the uint64 value into a reversed-varint in place, produce the same result as slices.Reverse(EncodeUInt(x)).
GetEncodeUIntSize returns the size in byte the encoded varint will take.
# Variables
No description provided by the author