Safe Haskell | None |
---|---|
Language | Haskell2010 |
- type MEM = Ptr ()
- type PTR = Word32
- type LONG = Int32
- type ULONG = Word32
- type WORD = Int16
- type UWORD = Word16
- type BYTE = Int8
- type UBYTE = Word8
- type Peek a = MEM -> PTR -> IO a
- peekOffset :: Storable a => Peek a
- peekBig :: (Storable a, HasBigEndian a) => Peek a
- peekPTR :: Peek PTR
- peekLONG :: Peek LONG
- peekULONG :: Peek ULONG
- peekWORD :: Peek WORD
- peekUWORD :: Peek UWORD
- peekBYTE :: Peek BYTE
- peekUBYTE :: Peek UBYTE
- ($?) :: (PTR -> IO a) -> PTR -> IO (Maybe a)
- skipIf :: Bool -> IO a -> IO (Maybe a)
- loadMEM :: String -> IO MEM
- freeMEM :: MEM -> IO ()
- pointerRange :: PTR -> ULONG -> Int -> [PTR]
- pointerRangeGen :: Integral i => PTR -> ULONG -> i -> [PTR]
- pointerRangeGenCheck :: Integral i => PTR -> ULONG -> i -> [PTR]
- pointerRangeGen2 :: (Integral i, Integral j) => PTR -> ULONG -> i -> j -> [PTR]
- chunk :: Integral i => i -> [a] -> [[a]]
- stringFromBytes :: [UBYTE] -> String