package
23.1.1+incompatible
Repository: https://github.com/dgraph-io/dgraph.git
Documentation: pkg.go.dev

# Packages

# Functions

ApproxLen would indicate the total number of UIDs in the pack.
CopyUidPack creates a copy of the given UidPack.
Decode decodes the UidPack back into the list of uids.
DecodeToBuffer is the same as Decode but it returns a z.Buffer which is calloc'ed and can be SHOULD be freed up by calling buffer.Release().
Encode takes in a list of uids and a block size.
EncodeFromBuffer is the same as Encode but it accepts a byte slice instead of a uint64 slice.
ExactLen would calculate the total number of UIDs.
NewDecoder returns a decoder for the given UidPack and properly initializes it.

# Constants

SeekCurrent to Seek() a Uid using it as offset, not as part of the results.
SeekStart is used with Seek() to search relative to the Uid, returning it in the results.

# Structs

Decoder is used to read a pb.UidPack object back into a list of UIDs.
Encoder is used to convert a list of UIDs into a pb.UidPack object.