| 6 | |
| 7 | // Is either Uint8Array or Buffer |
| 8 | export const isUint8Array = value => objectToString.call(value) === '[object Uint8Array]'; |
| 9 | |
| 10 | export const bufferToUint8Array = buffer => new Uint8Array(buffer.buffer, buffer.byteOffset, buffer.byteLength); |
| 11 |
no outgoing calls
no test coverage detected