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 => intsetArray
RESCRIPT
let setArray: (array<elt>, t) => unitsetArrayOffset
RESCRIPT
let setArrayOffset: (array<elt>, int, t) => unitlength
RESCRIPT
let length: t => intcopyWithin
RESCRIPT
let copyWithin: (~to_: int, t) => tcopyWithinFrom
RESCRIPT
let copyWithinFrom: (~to_: int, ~from: int, t) => tcopyWithinFromRange
RESCRIPT
let copyWithinFromRange: (~to_: int, ~start: int, ~end_: int, t) => tfillInPlace
RESCRIPT
let fillInPlace: (elt, t) => tfillFromInPlace
RESCRIPT
let fillFromInPlace: (elt, ~from: int, t) => tfillRangeInPlace
RESCRIPT
let fillRangeInPlace: (elt, ~start: int, ~end_: int, t) => treverseInPlace
RESCRIPT
let reverseInPlace: t => tsortInPlace
RESCRIPT
let sortInPlace: t => tsortInPlaceWith
RESCRIPT
let sortInPlaceWith: ((elt, elt) => int, t) => tincludes
RESCRIPT
let includes: (elt, t) => boolindexOf
RESCRIPT
let indexOf: (elt, t) => intindexOfFrom
RESCRIPT
let indexOfFrom: (elt, ~from: int, t) => intjoin
RESCRIPT
let join: t => stringjoinWith
RESCRIPT
let joinWith: (string, t) => stringlastIndexOf
RESCRIPT
let lastIndexOf: (elt, t) => intlastIndexOfFrom
RESCRIPT
let lastIndexOfFrom: (elt, ~from: int, t) => intslice
RESCRIPT
let slice: (~start: int, ~end_: int, t) => tcopy
RESCRIPT
let copy: t => tsliceFrom
RESCRIPT
let sliceFrom: (int, t) => tsubarray
RESCRIPT
let subarray: (~start: int, ~end_: int, t) => tsubarrayFrom
RESCRIPT
let subarrayFrom: (int, t) => ttoString
RESCRIPT
let toString: t => stringtoLocaleString
RESCRIPT
let toLocaleString: t => stringevery
RESCRIPT
let every: (elt => bool, t) => booleveryi
RESCRIPT
let everyi: ((elt, int) => bool, t) => boolfilter
RESCRIPT
let filter: (elt => bool, t) => tfilteri
RESCRIPT
let filteri: ((elt, int) => bool, t) => tfind
RESCRIPT
let find: (elt => bool, t) => Js.undefined<elt>findi
RESCRIPT
let findi: ((elt, int) => bool, t) => Js.undefined<elt>findIndex
RESCRIPT
let findIndex: (elt => bool, t) => intfindIndexi
RESCRIPT
let findIndexi: ((elt, int) => bool, t) => intforEach
RESCRIPT
let forEach: (elt => unit, t) => unitforEachi
RESCRIPT
let forEachi: ((elt, int) => unit, t) => unitmap
RESCRIPT
let map: (elt => 'a, t) => typed_array<'a>mapi
RESCRIPT
let mapi: ((elt, int) => 'a, t) => typed_array<'a>reduce
RESCRIPT
let reduce: (('a, elt) => 'a, 'a, t) => 'areducei
RESCRIPT
let reducei: (('a, elt, int) => 'a, 'a, t) => 'areduceRight
RESCRIPT
let reduceRight: (('a, elt) => 'a, 'a, t) => 'areduceRighti
RESCRIPT
let reduceRighti: (('a, elt, int) => 'a, 'a, t) => 'asome
RESCRIPT
let some: (elt => bool, t) => boolsomei
RESCRIPT
let somei: ((elt, int) => bool, t) => bool_BYTES_PER_ELEMENT
RESCRIPT
let _BYTES_PER_ELEMENT: intmake
RESCRIPT
let make: array<elt> => tfromBuffer
RESCRIPT
let fromBuffer: array_buffer => tcan throw
fromBufferOffset
RESCRIPT
let fromBufferOffset: (array_buffer, int) => traise Js.Exn.Error raise Js exception
param offset is in bytes
fromBufferRange
RESCRIPT
let fromBufferRange: (array_buffer, ~offset: int, ~length: int) => traise Js.Exn.Error raises Js exception
param offset is in bytes, length in elements
fromLength
RESCRIPT
let fromLength: int => tfrom
RESCRIPT
let from: array_like<elt> => t