//
pkg.gl
Category
github.com/mikeherman19/test1
codec
package
1.1.0
Repository:
https://github.com/mikeherman19/test1.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
6
Dependents
0
Files
259 SLOC
#
Packages
benchmark
No description provided by the author
#
Functions
ApproxLen
ApproxLen would indicate the total number of UIDs in the pack.
Decode
Decode decodes the UidPack back into the list of uids.
Encode
Encode takes in a list of uids and a block size.
ExactLen
ExactLen would calculate the total number of UIDs.
#
Constants
SeekCurrent
SeekCurrent to Seek() a Uid using it as offset, not as part of the results.
SeekStart
SeekStart is used with Seek() to search relative to the Uid, returning it in the results.
#
Structs
Decoder
Decoder is used to read a pb.UidPack object back into a list of UIDs.
Encoder
Encoder is used to convert a list of UIDs into a pb.UidPack object.