Module
Data.ArrayBuffer.ValueMapping
- Package
- purescript-arraybuffer
- Repository
- purescript-contrib/purescript-arraybuffer
This module represents type-level mappings between ArrayViewType
s
and meaningful data.
#BytesPerType Source
class BytesPerType :: ArrayViewType -> Constraint
class BytesPerType (a :: ArrayViewType) where
Map of each ArrayViewType
to the number of bytes of storage it requires.
Members
Instances
#BinaryValue Source
class BinaryValue :: ArrayViewType -> Type -> Constraint
class BinaryValue (a :: ArrayViewType) (t :: Type) | a -> t
Maps a TypedArray
’s binary casted value to its computable representation in JavaScript.
Instances
#ShowArrayViewType Source
class ShowArrayViewType :: ArrayViewType -> Symbol -> Constraint
class ShowArrayViewType (a :: ArrayViewType) (name :: Symbol) | a -> name
Instances
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"