Sign in
fuchsia
/
third_party
/
github.com
/
google
/
flatbuffers
/
0def91105f43a07a1b2a6b2a1afb87477608d1dd
/
.
/
ts
/
utils.ts
blob: a2902e3cf6b3bcebd4b0528537e12d20af4fe5db [
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
;