Module
Data.ArrayBuffer.ValueMapping
- Package
- purescript-arraybuffer
- Repository
- jacereda/purescript-arraybuffer
This module represents type-level mappings between ArrayViewTypes
and meaningful data.
#BytesPerValue Source
class BytesPerValue (a :: ArrayViewType) (b :: Type) | a -> bMaps a TypedArray's binary casted value, to the space occupied by that value, in bytes.
Instances
#BinaryValue Source
class BinaryValue (a :: ArrayViewType) (t :: Type) | a -> tMaps a TypedArray's binary casted value, to its computable representation in JavaScript.
Instances
#ShowArrayViewType Source
class ShowArrayViewType (a :: ArrayViewType) (name :: Symbol) | a -> nameInstances
ShowArrayViewType Uint8Clamped "Uint8Clamped"ShowArrayViewType Uint32 "Uint32"ShowArrayViewType Uint16 "Uint16"ShowArrayViewType Uint8 "Uint8"ShowArrayViewType Int32 "Int32"ShowArrayViewType Int16 "Int16"ShowArrayViewType Int8 "Int8"ShowArrayViewType Float32 "Float32"ShowArrayViewType Float64 "Float64"