Int8Array
elt
RESCRIPT
type elt = inttyped_array
RESCRIPT
type typed_array<
'a,
> = Js_typed_array2.Int8Array.typed_array<'a>t
RESCRIPT
type t = typed_array<elt>unsafe_get
RESCRIPT
let unsafe_get: (t, int) => eltunsafe_set
RESCRIPT
let unsafe_set: (t, int, elt) => unitbuffer
RESCRIPT
let buffer: t => array_bufferbyteLength
RESCRIPT
let byteLength: t => intbyteOffset
RESCRIPT
let byteOffset: t => intlength
Deprecated
RESCRIPT
let length: t => intcopyWithinFromRange
Deprecated
RESCRIPT
let copyWithinFromRange: (~to_: int, ~start: int, ~end_: int) => tslice
Deprecated
Use TypedArray.slice instead.
RESCRIPT
let slice: (~start: int, ~end_: int) => tsubarray
Deprecated
Use TypedArray.sliceToEnd instead.
RESCRIPT
let subarray: (~start: int, ~end_: int) => t_BYTES_PER_ELEMENT
Deprecated
RESCRIPT
let _BYTES_PER_ELEMENT: intmake
Deprecated
RESCRIPT
let make: array<elt> => tfromBuffer
RESCRIPT
let fromBuffer: array_buffer => tcan throw
fromBufferOffset
Deprecated
RESCRIPT
let fromBufferOffset: (array_buffer, int) => tthrow Js.Exn.Error throw Js exception
param offset is in bytes
fromBufferRange
Deprecated
RESCRIPT
let fromBufferRange: (array_buffer, ~offset: int, ~length: int) => tthrow Js.Exn.Error throws Js exception
param offset is in bytes, length in elements
fromLength
Deprecated
RESCRIPT
let fromLength: int => tfrom
Deprecated
RESCRIPT
let from: array_like<elt> => t