# v6buffer method

List<int> v6buffer(

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

})

Generates a draft time-based version 1 UUID into a provided buffer

By default it will generate a string based off current Gregorian epoch time, and will 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 an options map that takes various configuration options detailed in the readme. This is going to be eventually deprecated.

The second optional argument is a V6Options object that takes the same options as the options map. This is the preferred way to pass options.

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

## Implementation

    List<int> v6buffer(
      List<int> buffer, {
      V6Options? config,
      int offset = 0,
    }) {
      return UuidParsing.parse(v6(config: config),
          buffer: buffer, offset: offset);
    }