Austin Schuh | 7c75e58 | 2020-11-14 16:41:18 -0800 | [diff] [blame] | 1 | "use strict"; |
2 | Object.defineProperty(exports, "__esModule", { value: true }); | ||||
3 | exports.isLittleEndian = exports.float64 = exports.float32 = exports.int32 = void 0; | ||||
4 | exports.int32 = new Int32Array(2); | ||||
5 | exports.float32 = new Float32Array(exports.int32.buffer); | ||||
6 | exports.float64 = new Float64Array(exports.int32.buffer); | ||||
7 | exports.isLittleEndian = new Uint16Array(new Uint8Array([1, 0]).buffer)[0] === 1; |