Decoder is used to read a UidPack object back into a list of UIDs.
| 160 | |
| 161 | // Decoder is used to read a UidPack object back into a list of UIDs. |
| 162 | type 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. |
| 169 | func NewDecoder(pack *UidPack) *Decoder { |
nothing calls this directly
no outgoing calls
no test coverage detected