Storable is:module
The module
Foreign.Storable provides most elementary support
for marshalling and is part of the language-independent portion of the
Foreign Function Interface (FFI), and will normally be imported via
the
Foreign module.
A storable array is an IO-mutable array which stores its contents in a
contiguous memory block living in the C heap. Elements are stored
according to the class
Storable. You can obtain the pointer
to the array contents to manipulate elements from languages like C.
It is similar to
IOUArray but slower. Its advantage is that
it's compatible with C.
The module
Foreign.Storable provides most elementary support
for marshalling and is part of the language-independent portion of the
Foreign Function Interface (FFI), and will normally be imported via
the
Foreign module.
Storable-based unboxed vectors.
Implementation of a
Storable deriver for data types. This works
for any non-recursive datatype which has
Storable fields.
Most users won't need to import this module directly. Instead, use
derive /
Deriving to create
Storable instances.
A bijection between boxed, immutable vectors.
Read/write Storable vectors