Int8Array
elt
RESCRIPT
type elt = int
typed_array
RESCRIPT
type 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
setArray
Deprecated
RESCRIPT
let setArray: (t, array<elt>) => unit
setArrayOffset
Deprecated
RESCRIPT
let setArrayOffset: (t, array<elt>, int) => unit
length
Deprecated
RESCRIPT
let length: t => int
copyWithin
Deprecated
RESCRIPT
let copyWithin: (t, ~to_: int) => t
copyWithinFrom
Deprecated
RESCRIPT
let copyWithinFrom: (t, ~to_: int, ~from: int) => t
copyWithinFromRange
Deprecated
RESCRIPT
let copyWithinFromRange: (t, ~to_: int, ~start: int, ~end_: int) => t
fillInPlace
Deprecated
RESCRIPT
let fillInPlace: (t, elt) => t
fillFromInPlace
Deprecated
RESCRIPT
let fillFromInPlace: (t, elt, ~from: int) => t
fillRangeInPlace
Deprecated
RESCRIPT
let fillRangeInPlace: (t, elt, ~start: int, ~end_: int) => t
reverseInPlace
Deprecated
RESCRIPT
let reverseInPlace: t => t
sortInPlace
Deprecated
RESCRIPT
let sortInPlace: t => t
sortInPlaceWith
Deprecated
RESCRIPT
let sortInPlaceWith: (t, (elt, elt) => int) => t
includes
Deprecated
RESCRIPT
let includes: (t, elt) => bool
indexOf
Deprecated
RESCRIPT
let indexOf: (t, elt) => int
indexOfFrom
Deprecated
RESCRIPT
let indexOfFrom: (t, elt, ~from: int) => int
join
Deprecated
RESCRIPT
let join: t => string
joinWith
Deprecated
RESCRIPT
let joinWith: (t, string) => string
lastIndexOf
Deprecated
RESCRIPT
let lastIndexOf: (t, elt) => int
lastIndexOfFrom
Deprecated
RESCRIPT
let lastIndexOfFrom: (t, elt, ~from: int) => int
slice
Deprecated
RESCRIPT
let slice: (t, ~start: int, ~end_: int) => t
start
is inclusive, end_
exclusive
copy
Deprecated
RESCRIPT
let copy: t => t
sliceFrom
Deprecated
RESCRIPT
let sliceFrom: (t, int) => t
subarray
Deprecated
RESCRIPT
let subarray: (t, ~start: int, ~end_: int) => t
start
is inclusive, end_
exclusive
subarrayFrom
Deprecated
RESCRIPT
let subarrayFrom: (t, int) => t
toString
Deprecated
RESCRIPT
let toString: t => string
toLocaleString
Deprecated
RESCRIPT
let toLocaleString: t => string
every
Deprecated
RESCRIPT
let every: (t, elt => bool) => bool
everyi
Deprecated
RESCRIPT
let everyi: (t, (elt, int) => bool) => bool
filter
Deprecated
RESCRIPT
let filter: (t, elt => bool) => t
filteri
Deprecated
RESCRIPT
let filteri: (t, (elt, int) => bool) => t
find
Deprecated
RESCRIPT
let find: (t, elt => bool) => Js_undefined.t<elt>
findi
Deprecated
RESCRIPT
let findi: (t, (elt, int) => bool) => Js_undefined.t<elt>
findIndex
Deprecated
RESCRIPT
let findIndex: (t, elt => bool) => int
findIndexi
Deprecated
RESCRIPT
let findIndexi: (t, (elt, int) => bool) => int
forEach
Deprecated
RESCRIPT
let forEach: (t, elt => unit) => unit
forEachi
Deprecated
RESCRIPT
let forEachi: (t, (elt, int) => unit) => unit
map
Deprecated
RESCRIPT
let map: (t, elt => 'b) => typed_array<'b>
mapi
Deprecated
RESCRIPT
let mapi: (t, (elt, int) => 'b) => typed_array<'b>
reduce
Deprecated
RESCRIPT
let reduce: (t, ('b, elt) => 'b, 'b) => 'b
reducei
Deprecated
RESCRIPT
let reducei: (t, ('b, elt, int) => 'b, 'b) => 'b
reduceRight
Deprecated
RESCRIPT
let reduceRight: (t, ('b, elt) => 'b, 'b) => 'b
reduceRighti
Deprecated
RESCRIPT
let reduceRighti: (t, ('b, elt, int) => 'b, 'b) => 'b
some
Deprecated
RESCRIPT
let some: (t, elt => bool) => bool
somei
Deprecated
RESCRIPT
let somei: (t, (elt, int) => bool) => bool
_BYTES_PER_ELEMENT
Deprecated
RESCRIPT
let _BYTES_PER_ELEMENT: int
make
Deprecated
RESCRIPT
let make: array<elt> => t
fromBuffer
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