MCPcopy Create free account
hub / github.com/dgraph-io/dgraph-benchmarks / Decoder

Struct Decoder

bitmap/codec.go:162–166  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

160
161// Decoder is used to read a UidPack object back into a list of UIDs.
162type Decoder struct {
163 Pack *UidPack
164 blockIdx int
165 uids []uint64
166}
167
168// NewDecoder returns a decoder for the given UidPack and properly initializes it.
169func NewDecoder(pack *UidPack) *Decoder {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected