Versions in this module Expand all Collapse all v0 v0.8.1 Sep 20, 2019 Changes in this version + const ShiftStartInt64 + func Deinterleave(b uint64) uint64 + func Float64ToInt64(f float64) int64 + func Int64ToFloat64(i int64) float64 + func Interleave(v1, v2 uint64) uint64 + func ValidPrefixCodedTerm(p string) (bool, int) + func ValidPrefixCodedTermBytes(p []byte) (bool, int) + type PrefixCoded []byte + func MustNewPrefixCodedInt64(in int64, shift uint) PrefixCoded + func NewPrefixCodedInt64(in int64, shift uint) (PrefixCoded, error) + func NewPrefixCodedInt64Prealloc(in int64, shift uint, prealloc []byte) (rv PrefixCoded, preallocRest []byte, err error) + func (p PrefixCoded) Int64() (int64, error) + func (p PrefixCoded) Shift() (uint, error)