Module
Data.ArrayBuffer.ValueMapping
- Package
- purescript-arraybuffer
- Repository
- purescript-contrib/purescript-arraybuffer
This module represents type-level mappings between ArrayViewTypes
and meaningful data.
#BytesPerType Source
class BytesPerType (a :: ArrayViewType) whereMap of each ArrayViewType to the number of bytes of storage it requires.
Members
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"