()
| 396 | } |
| 397 | |
| 398 | function getUnbufferedUUID() { |
| 399 | uuidNotBuffered ??= secureBuffer(16); |
| 400 | if (uuidNotBuffered === undefined) |
| 401 | throw new ERR_OPERATION_FAILED('Out of memory'); |
| 402 | randomFillSync(uuidNotBuffered); |
| 403 | return serializeUUID(uuidNotBuffered, 0x40, 0x80); |
| 404 | } |
| 405 | |
| 406 | function randomUUID(options) { |
| 407 | if (options !== undefined) |
no test coverage detected
searching dependent graphs…