Documentation ¶ Index ¶ Variables func PrefixEnd(b []byte) []byte Constants ¶ This section is empty. Variables ¶ View Source var KeyMax = []byte{0xff, 0xff} KeyMax is a maximum key value which sorts after all other keys. Functions ¶ func PrefixEnd ¶ func PrefixEnd(b []byte) []byte PrefixEnd determines the end key given b as a prefix, that is the key that sorts precisely behind all keys starting with prefix: "1" is added to the final byte and the carry propagated. The special cases of nil and KeyMin always returns KeyMax. Types ¶ This section is empty. Source Files ¶ View all Source files data.go Click to show internal directories. Click to hide internal directories.