Open
Description
TypedArrays use native endianness but a lot of algorithms here assume a specific endianness. We need to find a efficient way to switch between them. Checking endianness is as simple as:
var write = new Uint16Array([0xffdd])
var check = new Uint8Array(write.buffer)[0] === 0xff ? 'big' : 'little'
Metadata
Metadata
Assignees
Labels
No labels