Austin Schuh | 272c613 | 2020-11-14 16:37:52 -0800 | [diff] [blame] | 1 | export const int32 = new Int32Array(2); |
2 | export const float32 = new Float32Array(int32.buffer); | ||||
3 | export const float64 = new Float64Array(int32.buffer); | ||||
4 | export const isLittleEndian = new Uint16Array(new Uint8Array([1, 0]).buffer)[0] === 1; |