parseHex128 static method
Parses the provided uuid into a list of byte values as a List<int>.
Can optionally be provided a buffer to write into and
a positional offset for where to start inputting into the buffer.
Throws FormatException if the hexadecimal format is invalid.
UUID version and variant bits are not validated.
Optionally you can set validate to false to disable
validation of the UUID before parsing.
Set noDashes to true when parsing 32 hexadecimal characters without
dashes.
Example parsing a UUID string
var bytes = uuid.parse('797ff043-11eb-11e1-80d6-510998755d10');
// bytes-> [121, 127, 240, 67, 17, 235, 17, 225, 128, 214, 81, 9, 152, 117, 93, 16]
Implementation
static List<int> parseHex128(
String uuid, {
List<int>? buffer,
int offset = 0,
bool validate = true,
bool noDashes = false,
}) {
return UuidParsing.parseHex128(
uuid,
buffer: buffer,
offset: offset,
validate: validate,
noDashes: noDashes,
);
}