create :: ByteLength -> ArrayBufferCreate an ArrayBuffer with the given capacity.
byteLength :: ArrayBuffer -> ByteLengthRepresents the length of an ArrayBuffer in bytes.
sliceImpl :: Fn3 ByteOffset ByteOffset ArrayBuffer ArrayBufferslice :: ByteOffset -> ByteOffset -> ArrayBuffer -> ArrayBufferReturns a new ArrayBuffer whose contents are a copy of this ArrayBuffer's bytes from begin, inclusive, up to end, exclusive.
fromArray :: [Number] -> ArrayBufferConvert an array into an ArrayBuffer representation.
fromString :: String -> ArrayBufferConvert a string into an ArrayBuffer representation.
type Getter r = forall e. DataView -> ByteOffset -> Eff (reader :: Reader | e) (Maybe r)Type for all fetching functions.
type Setter r = forall e. DataView -> r -> ByteOffset -> Eff (writer :: Writer | e) UnitType for all storing functions.
whole :: ArrayBuffer -> DataViewView mapping the whole ArrayBuffer.
slice :: forall e. ByteOffset -> ByteLength -> ArrayBuffer -> Maybe DataViewView mapping a region of the ArrayBuffer.
buffer :: DataView -> ArrayBufferArrayBuffer being mapped by the view.
byteOffset :: DataView -> ByteOffsetRepresents the offset of this view from the start of its ArrayBuffer.
byteLength :: DataView -> ByteLengthRepresents the length of this view.
data Reader :: !data Writer :: !getInt8 :: Getter NumberFetch int8 value at a certain index in a DataView.
getInt16 :: Getter NumberFetch int16 value at a certain index in a DataView.
getInt32 :: Getter NumberFetch int32 value at a certain index in a DataView.
getUint8 :: Getter NumberFetch uint8 value at a certain index in a DataView.
getUint16 :: Getter NumberFetch uint16 value at a certain index in a DataView.
getUint32 :: Getter NumberFetch uint32 value at a certain index in a DataView.
getFloat32 :: Getter NumberFetch float32 value at a certain index in a DataView.
getFloat64 :: Getter NumberFetch float64 value at a certain index in a DataView.
setInt8 :: Setter NumberStore int8 value at a certain index in a DataView.
setInt16 :: Setter NumberStore int16 value at a certain index in a DataView.
setInt32 :: Setter NumberStore int32 value at a certain index in a DataView.
setUint8 :: Setter NumberStore uint8 value at a certain index in a DataView.
setUint16 :: Setter NumberStore uint16 value at a certain index in a DataView.
setUint32 :: Setter NumberStore uint32 value at a certain index in a DataView.
setFloat32 :: Setter NumberStore float32 value at a certain index in a DataView.
setFloat64 :: Setter NumberStore float64 value at a certain index in a DataView.
instance showArrayView :: Show (ArrayView a)instance showDataView :: Show DataViewinstance showArrayBuffer :: Show ArrayBuffershowImpl :: forall a. ArrayView a -> Stringdata Writer :: !asInt8Array :: DataView -> Int8ArrayCreate typed int8 array viewing the buffer mapped by the DataView
asInt16Array :: DataView -> Int16ArrayCreate typed int16 array viewing the buffer mapped by the DataView
asInt32Array :: DataView -> Int32ArrayCreate typed int32 array viewing the buffer mapped by the DataView
asUint8Array :: DataView -> Uint8ArrayCreate typed uint8 array viewing the buffer mapped by the DataView
asUint16Array :: DataView -> Uint16ArrayCreate typed uint16 array viewing the buffer mapped by the DataView
asUint32Array :: DataView -> Uint32ArrayCreate typed uint32 array viewing the buffer mapped by the DataView
asUint8ClampedArray :: DataView -> Uint8ClampedArrayCreate typed uint8 clamped array viewing the buffer mapped by the DataView
asFloat32Array :: DataView -> Float32ArrayCreate typed float32 array viewing the buffer mapped by the DataView
asFloat64Array :: DataView -> Float64ArrayCreate typed float64 array viewing the buffer mapped by the DataView
dataView :: forall a. ArrayView a -> DataViewInterpret typed array as a DataView.
set :: forall a e. ArrayView a -> ByteOffset -> ArrayView a -> Eff (writer :: Writer | e) UnitStores multiple values in the last typed array, reading input values from ther first typed array.
at :: forall a. ArrayView a -> Number -> Maybe NumberFetch element at index.
toArray :: forall a. ArrayView a -> [Number]Turn typed array into an array.