utils.js
This file
Path
lib/stdio/utils.js
1 line · 113 bytes · JavaScript
Last changed by
Validate `input` option's type (#668)ehmickybefore adoption65742c6
History of this fileTake it
Validate `input` option's type (#668)ehmickybefore adoption65742c6
line 1why, one step back1export const bufferToUint8Array = buffer => new Uint8Array(buffer.buffer, buffer.byteOffset, buffer.byteLength);