regional-pointers-0.1.0.2: Regional memory pointers

MaintainerBas van Dijk <v.dijk.bas@gmail.com>

Foreign.Storable.Region

Description

Lifts methods of the Storable type class from Foreign.Storable to regional pointers.

Synopsis

Documentation

peekElemOff :: (ParentOf pr cr, Storable α, MonadIO cr) => RegionalPtr α pr -> Int -> cr αSource

Wraps: Foreign.Storable.peekElemOff.

pokeElemOff :: (ParentOf pr cr, Storable α, MonadIO cr) => RegionalPtr α pr -> Int -> α -> cr ()Source

Wraps: Foreign.Storable.pokeElemOff.

peekByteOff :: (ParentOf pr cr, Storable α, MonadIO cr) => RegionalPtr β pr -> Int -> cr αSource

Wraps: Foreign.Storable.peekByteOff.

pokeByteOff :: (ParentOf pr cr, Storable α, MonadIO cr) => RegionalPtr β pr -> Int -> α -> cr ()Source

Wraps: Foreign.Storable.pokeByteOff.

peek :: (ParentOf pr cr, Storable α, MonadIO cr) => RegionalPtr α pr -> cr αSource

Wraps: Foreign.Storable.peek.

poke :: (ParentOf pr cr, Storable α, MonadIO cr) => RegionalPtr α pr -> α -> cr ()Source

Wraps: Foreign.Storable.poke.