v5buffer method

List<int> v5buffer(
  1. String? namespace,
  2. String? name,
  3. List<int>? buffer, {
  4. Map<String, dynamic>? options,
  5. int offset = 0,
})

v5buffer() Generates a RNG version 4 UUID

By default it will generate a string based off current time, 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 argument is an options map that takes various configuration options detailed in the readme.

http://tools.ietf.org/html/rfc4122.html#section-4.4

Implementation

List<int> v5buffer(
  String? namespace,
  String? name,
  List<int>? buffer, {
  Map<String, dynamic>? options,
  int offset = 0,
}) {
  return parse(v5(namespace, name, options: options), buffer: buffer, offset: offset);
}