# Functions
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.
# Variables
KeyMax is a maximum key value which sorts after all other keys.