Sign in
chromium
/
external
/
github.com
/
google
/
flatbuffers
/
master
/
.
/
ts
/
utils.ts
blob: bf028d256b8d1ffd8fb619b1c11eedef844f1306 [
file
] [
log
] [
blame
]
export
const
int32
=
new
Int32Array
(
2
);
export
const
float32
=
new
Float32Array
(
int32
.
buffer
);
export
const
float64
=
new
Float64Array
(
int32
.
buffer
);
export
const
isLittleEndian
=
new
Uint16Array
(
new
Uint8Array
([
1
,
0
]).
buffer
)[
0
]
===
1
;