System.TPFS.SolidArray
Description
Describes a class for accessing arrays on-disk, like bitmaps and such.
Documentation
class SolidArray t whereSource
Solid arrays are on-disk arrays of values of type t. They can
be read from and written to with random access.
Methods
Arguments
| :: (Device m h, Integral i) | |
| => h | The device handle. |
| -> Address | The base address of the array. |
| -> (i, i) | The range to read from the array. |
| -> m [t] | The resulting list of values. |
Read an inclusive range from the array.
Arguments
| :: (Device m h, Integral i) | |
| => h | The device handle. |
| -> Address | The base address of the array. |
| -> i | The offset to begin writing at. |
| -> [t] | The list of values to write at the offset. |
| -> m () |
Write a list to the array at an offset.
Instances