Skip to content
Myr

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 file

Take it

Validate `input` option's type (#668)ehmickybefore adoption65742c6

line 1why, one step back
1export const bufferToUint8Array = buffer => new Uint8Array(buffer.buffer, buffer.byteOffset, buffer.byteLength);