v8buffer method - Uuid class - uuid library - Dart API
Description: API docs for the v8buffer method from the Uuid class, for the Dart programming language.

# v8buffer method

List<int> v8buffer(

1. List<int> buffer, {
2. V8Options? config,
3. int offset = 0,

})

Generates a draft time-based version 8 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 V8Options object that takes the same options as the options map.

https://datatracker.ietf.org/doc/html/draft-ietf-uuidrev-rfc4122bis#name-uuid-version-8

## Implementation

    List<int> v8buffer(
      List<int> buffer, {
      V8Options? config,
      int offset = 0,
    }) {
      return UuidParsing.parse(v8(config: config),
          buffer: buffer, offset: offset);
    }