Validates the provided uuid to make sure it has all the necessary
components and formatting and returns a bool
You can choose to validate from a string or from a byte list based on
which parameter is passed.
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.
Unparses a buffer of bytes and outputs a proper UUID string.
An optional offset is allowed if you want to start at a different point
in the buffer.
Throws an exception if the buffer does not have a length of 16