storable-record-0.0.4: Elegant definition of Storable instances for records

Safe Haskell | Safe
Language | Haskell98

Foreign.Storable.FixedArray

# Documentation

roundUp :: Int -> Int -> Int Source #

sizeOfArray :: Storable a => Int -> a -> Int Source #

pokeNext :: Storable a => a -> StateT (Ptr a) IO () Source #

peekNext :: Storable a => StateT (Ptr a) IO a Source #

run :: Ptr (t a) -> StateT (Ptr a) IO c -> IO c Source #