parse static method
Parses the provided uuid
into a list of byte values as a List
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> parse(
String uuid, {
List<int>? buffer,
int offset = 0,
bool validate = true,
ValidationMode validationMode = ValidationMode.strictRFC4122,
}) {
return UuidParsing.parse(uuid,
buffer: buffer,
offset: offset,
validate: validate,
validationMode: validationMode);
}