You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Read a 16-bit, little-endian integer at the specified index.
4
+
*/
2
5
readInt16(idx: number): number;
6
+
/**
7
+
* Read a 32-bit, little-endian integer at the specified index.
8
+
*/
3
9
readInt32(idx: number): number;
10
+
/**
11
+
* Read a 64-bit, little-endian integer at the specified index, but truncated as a JavaScript `number` value. The maximum safely usable value that can be returned by this function is `Number.MAX_SAFE_INTEGER`.
12
+
*/
4
13
readInt64AsFloat(idx: number): number;
5
14
15
+
/**
16
+
* Read a JavaScript-standard 32 bit floating point number at the specified index.
17
+
*/
6
18
readFloat32(idx: number): number;
19
+
/**
20
+
* Read a JavaScript-standard 64 bit floating point number at the specified index.
21
+
*/
7
22
readFloat64(idx: number): number;
8
23
9
-
/// Reads a null-terminated string
24
+
/**
25
+
* Reads a null-terminated byte-per-character string at the specified index.
26
+
*/
10
27
readString(idx: number): string;
11
28
}
12
29
30
+
/**
31
+
* This declaration reperesents the interface used by the Latite API to represent byte arrays.
0 commit comments