You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[`buffer`]|`Uint8Array` If provided, binary UUID is written into the array, starting at `offset`|
295
+
|[`buffer`]|`Uint8Array`or `Uint8Array` subtype (e.g. Node.js `Buffer`). If provided, binary UUID is written into the array, starting at `offset`|
296
296
|[`offset` = 0]|`Number` Index to start writing UUID bytes in `buffer`|
297
297
|_returns_| UUID `String` if no `buffer` is specified, otherwise returns `buffer`|
298
298
@@ -367,7 +367,7 @@ Create an RFC version 7 (random) UUID
367
367
|[`options.random = (random)`]|`Array` of 16 random bytes (0-255) used to generate other fields, above |
368
368
|[`options.rng`]| Alternative to `options.random`, a `Function` that returns an `Array` of 16 random bytes (0-255) |
369
369
|[`options.seq = (random)`]| 32-bit sequence `Number` between 0 - 0xffffffff. This may be provided to help ensure uniqueness for UUIDs generated within the same millisecond time interval. Default = random value. |
370
-
|[`buffer`]|`Uint8Array` If provided, binary UUID is written into the array, starting at `offset`|
370
+
|[`buffer`]|`Uint8Array`or `Uint8Array` subtype (e.g. Node.js `Buffer`). If provided, binary UUID is written into the array, starting at `offset`|
371
371
|[`offset` = 0]|`Number` Index to start writing UUID bytes in `buffer`|
372
372
|_returns_| UUID `String` if no `buffer` is specified, otherwise returns `buffer`|
|[`buffer`]|`Uint8Array` If provided, binary UUID is written into the array, starting at `offset`|
304
+
|[`buffer`]|`Uint8Array`or `Uint8Array` subtype (e.g. Node.js `Buffer`). If provided, binary UUID is written into the array, starting at `offset`|
305
305
|[`offset` = 0]|`Number` Index to start writing UUID bytes in `buffer`|
306
306
|_returns_| UUID `String` if no `buffer` is specified, otherwise returns `buffer`|
307
307
@@ -376,7 +376,7 @@ Create an RFC version 7 (random) UUID
376
376
|[`options.random = (random)`]|`Array` of 16 random bytes (0-255) used to generate other fields, above |
377
377
|[`options.rng`]| Alternative to `options.random`, a `Function` that returns an `Array` of 16 random bytes (0-255) |
378
378
|[`options.seq = (random)`]| 32-bit sequence `Number` between 0 - 0xffffffff. This may be provided to help ensure uniqueness for UUIDs generated within the same millisecond time interval. Default = random value. |
379
-
|[`buffer`]|`Uint8Array` If provided, binary UUID is written into the array, starting at `offset`|
379
+
|[`buffer`]|`Uint8Array`or `Uint8Array` subtype (e.g. Node.js `Buffer`). If provided, binary UUID is written into the array, starting at `offset`|
380
380
|[`offset` = 0]|`Number` Index to start writing UUID bytes in `buffer`|
381
381
|_returns_| UUID `String` if no `buffer` is specified, otherwise returns `buffer`|
0 commit comments