# parseAsByteList static method

Uint8List parseAsByteList(

1. String uuid, {
2. List<int>? buffer,
3. int offset = 0,
4. bool validate = true,
5. ValidationMode validationMode = ValidationMode.strictRFC9562,

})

Parses the provided `uuid` into a list of byte values as a Uint8List. 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 UUID is invalid. Optionally you can set `validate` to false to disable validation of the UUID before parsing.

## Implementation

    static Uint8List parseAsByteList(String uuid,
        {List<int>? buffer,
        int offset = 0,
        bool validate = true,
        ValidationMode validationMode = ValidationMode.strictRFC9562}) {
      return UuidParsing.parseAsByteList(uuid,
          buffer: buffer,
          offset: offset,
          validate: validate,
          validationMode: validationMode);
    }