v7buffer method
Generates a draft time-based version 7 UUID into a provided buffer
By default it will generate a string based off current Unix epoch time in
milliseconds, and will place the result into the provided buffer
.
The buffer
will also be returned..
Optionally an offset
can be provided with a start position in the buffer.
The first optional argument is a V7Options
object that takes the same options as
the options map.
https://datatracker.ietf.org/doc/html/draft-ietf-uuidrev-rfc4122bis#name-uuid-version-7
Implementation
List<int> v7buffer(
List<int> buffer, {
V7Options? config,
int offset = 0,
}) {
return UuidParsing.parse(v7(config: config),
buffer: buffer, offset: offset);
}