The encoding consists of the byte-length of the string plus 1 as a Base-128 64-bit Little Endian variable-length unsigned integer followed by the UTF-8 encoding of the input value. More...
The encoding consists of the byte-length of the string plus 1 as a Base-128 64-bit Little Endian variable-length unsigned integer followed by the UTF-8 encoding of the input value.
Optionally, if the input string has already been encoded to the buffer using this encoding the encoding may consist of the byte constant 0x00
followed by the current offset minus the offset to the start of the string as a Base-128 64-bit Little Endian variable-length unsigned integer. It is permissible to point to another instance of the string that is a pointer itself.
None
None
Given the input string foo
where the string has not been previously encoded, the encoding results in:
Given the encoding of foo
repeated 3 times, the encoding may result in: