API / Core / Dataview

DataView

t

RESCRIPT
type t

fromBuffer

RESCRIPT
let fromBuffer: Core__ArrayBuffer.t => t

fromBufferToEnd

RESCRIPT
let fromBufferToEnd: (Core__ArrayBuffer.t, ~byteOffset: int) => t

fromBufferWithRange

RESCRIPT
let fromBufferWithRange: (Core__ArrayBuffer.t, ~byteOffset: int, ~length: int) => t

buffer

RESCRIPT
let buffer: t => Core__ArrayBuffer.t

byteLength

RESCRIPT
let byteLength: t => int

byteOffset

RESCRIPT
let byteOffset: t => int

getInt8

RESCRIPT
let getInt8: t => int

getUint8

RESCRIPT
let getUint8: t => int

getInt16

RESCRIPT
let getInt16: t => int

getUint16

RESCRIPT
let getUint16: t => int

getInt32

RESCRIPT
let getInt32: t => int

getUint32

RESCRIPT
let getUint32: t => int

getFloat32

RESCRIPT
let getFloat32: t => float

getFloat64

RESCRIPT
let getFloat64: t => float

getBigInt64

RESCRIPT
let getBigInt64: t => Core__BigInt.t

getBigUint64

RESCRIPT
let getBigUint64: t => Core__BigInt.t

setInt8

RESCRIPT
let setInt8: (t, int) => unit

setUint8

RESCRIPT
let setUint8: (t, int) => unit

setInt16

RESCRIPT
let setInt16: (t, int) => unit

setUint16

RESCRIPT
let setUint16: (t, int) => unit

setInt32

RESCRIPT
let setInt32: (t, int) => unit

setUint32

RESCRIPT
let setUint32: (t, int) => unit

setFloat32

RESCRIPT
let setFloat32: (t, float) => unit

setFloat64

RESCRIPT
let setFloat64: (t, float) => unit

setBigInt64

RESCRIPT
let setBigInt64: (t, Core__BigInt.t) => unit

setBigUint64

RESCRIPT
let setBigUint64: (t, Core__BigInt.t) => unit