hw-prim-0.0.3.2: Primitive functions and data types

Safe HaskellSafe
LanguageHaskell2010

HaskellWorks.Data.FromForeignRegion

Synopsis

Documentation

class FromForeignRegion a where Source #

Class for datastructures that can be created from a foreign region

Minimal complete definition

fromForeignRegion

Methods

fromForeignRegion :: (ForeignPtr Word8, Int, Int) -> a Source #

Create a value of type @a from a foreign region.