Documentation
¶
Index ¶
Constants ¶
View Source
const BitPanicMsg = "bit index out of range"
Variables ¶
View Source
var ErrInvalidDataLength = errors.New("invalid data length")
ErrInvalidDataLength is the error returned when attempting to construct a key from binary data of the wrong length.
Functions ¶
func CommonPrefixLength ¶ added in v0.2.0
CommonPrefixLength returns the length of the common prefix of two keys. Note that keys can be of different types, and different lengths.
Types ¶
Click to show internal directories.
Click to hide internal directories.