@@ -10,28 +10,28 @@ external fromBufferWithRange: (Core__ArrayBuffer.t, ~byteOffset: int, ~length: i
1010@get external byteLength : t => int = "byteLength"
1111@get external byteOffset : t => int = "byteOffset"
1212
13- @send external getInt8 : t => int = "getInt8"
14- @send external getUint8 : t => int = "getUint8"
15- @send external getInt16 : t => int = "getInt16"
16- @send external getUint16 : t => int = "getUint16"
17- @send external getInt32 : t => int = "getInt32"
18- @send external getUint32 : t => int = "getUint32"
19-
20- @send external getFloat32 : t => float = "getFloat32"
21- @send external getFloat64 : t => float = "getFloat64"
22-
23- @send external getBigInt64 : t => bigint = "getBigInt64"
24- @send external getBigUint64 : t => bigint = "getBigUint64"
25-
26- @send external setInt8 : (t , int ) => unit = "setInt8"
27- @send external setUint8 : (t , int ) => unit = "setUint8"
28- @send external setInt16 : (t , int ) => unit = "setInt16"
29- @send external setUint16 : (t , int ) => unit = "setUint16"
30- @send external setInt32 : (t , int ) => unit = "setInt32"
31- @send external setUint32 : (t , int ) => unit = "setUint32"
32-
33- @send external setFloat32 : (t , float ) => unit = "setFloat32"
34- @send external setFloat64 : (t , float ) => unit = "setFloat64"
35-
36- @send external setBigInt64 : (t , bigint ) => unit = "setBigInt64"
37- @send external setBigUint64 : (t , bigint ) => unit = "setBigUint64"
13+ @send external getInt8 : ( t , int ) => int = "getInt8"
14+ @send external getUint8 : ( t , int ) => int = "getUint8"
15+ @send external getInt16 : ( t , int ) => int = "getInt16"
16+ @send external getUint16 : ( t , int ) => int = "getUint16"
17+ @send external getInt32 : ( t , int ) => int = "getInt32"
18+ @send external getUint32 : ( t , int ) => int = "getUint32"
19+
20+ @send external getFloat32 : ( t , int ) => float = "getFloat32"
21+ @send external getFloat64 : ( t , int ) => float = "getFloat64"
22+
23+ @send external getBigInt64 : ( t , int ) => bigint = "getBigInt64"
24+ @send external getBigUint64 : ( t , int ) => bigint = "getBigUint64"
25+
26+ @send external setInt8 : (t , int , int ) => unit = "setInt8"
27+ @send external setUint8 : (t , int , int ) => unit = "setUint8"
28+ @send external setInt16 : (t , int , int ) => unit = "setInt16"
29+ @send external setUint16 : (t , int , int ) => unit = "setUint16"
30+ @send external setInt32 : (t , int , int ) => unit = "setInt32"
31+ @send external setUint32 : (t , int , int ) => unit = "setUint32"
32+
33+ @send external setFloat32 : (t , int , float ) => unit = "setFloat32"
34+ @send external setFloat64 : (t , int , float ) => unit = "setFloat64"
35+
36+ @send external setBigInt64 : (t , int , bigint ) => unit = "setBigInt64"
37+ @send external setBigUint64 : (t , int , bigint ) => unit = "setBigUint64"
0 commit comments