Int32Array
elt
RESCRIPT
type elt = int
typed_array
RESCRIPT
type typed_array<
'a,
> = Js_typed_array2.Int32Array.typed_array<'a>
t
RESCRIPT
type t = typed_array<elt>
unsafe_get
RESCRIPT
let unsafe_get: (t, int) => elt
unsafe_set
RESCRIPT
let unsafe_set: (t, int, elt) => unit
buffer
RESCRIPT
let buffer: t => array_buffer
byteLength
RESCRIPT
let byteLength: t => int
byteOffset
RESCRIPT
let byteOffset: t => int
length
Deprecated
RESCRIPT
let length: t => int
copyWithinFromRange
Deprecated
RESCRIPT
let copyWithinFromRange: (~to_: int, ~start: int, ~end_: int) => t
slice
Deprecated
RESCRIPT
let slice: (~start: int, ~end_: int) => t
subarray
Deprecated
RESCRIPT
let subarray: (~start: int, ~end_: int) => t
_BYTES_PER_ELEMENT
Deprecated
RESCRIPT
let _BYTES_PER_ELEMENT: int
make
Deprecated
RESCRIPT
let make: array<elt> => t
fromBuffer
Deprecated
RESCRIPT
let fromBuffer: array_buffer => t
can throw
fromBufferOffset
Deprecated
RESCRIPT
let fromBufferOffset: (array_buffer, int) => t
throw Js.Exn.Error throw Js exception
param offset is in bytes
fromBufferRange
Deprecated
RESCRIPT
let fromBufferRange: (array_buffer, ~offset: int, ~length: int) => t
throw Js.Exn.Error throws Js exception
param offset is in bytes, length in elements
fromLength
Deprecated
RESCRIPT
let fromLength: int => t
from
Deprecated
RESCRIPT
let from: array_like<elt> => t
create
Deprecated
use make
instead
RESCRIPT
let create: array<int> => t
of_buffer
Deprecated
use fromBuffer
instead
RESCRIPT
let of_buffer: array_buffer => t