The encoding consist in the UTF-8 encoding of the input string. More...
Public Attributes | |
const std::uint64_t | size |
The string UTF-8 byte-length. | |
The encoding consist in the UTF-8 encoding of the input string.
Option | Type | Description |
---|---|---|
size | uint | The string UTF-8 byte-length |
Condition | Description |
---|---|
len(value) == size | The input string must have the declared UTF-8 byte-length |
Given the input value "foo bar" with a corresponding size of 7, the encoding results in: