R/variantkey.R
EncodeStringID.Rd
Encode maximum 10 characters of a string into a 64 bit unsigned integer. This function can be used to convert generic string IDs to numeric IDs.
EncodeStringID(str, start = 0)
str | The string to encode. It must be maximum 10 characters long and support ASCII characters from '!' to 'z'. |
---|---|
start | First character to encode, starting from 0. To encode the last 10 characters, set this value at (size - 10). |