Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data Poke input = Poke !Int !(Ptr Word8 -> input -> IO ())
- word8 :: Poke Word8
- beWord16 :: Poke Word16
- beWord32 :: Poke Word32
- beWord64 :: Poke Word64
- bytes :: Int -> Poke ByteString
- pokeAndPeek :: PokeAndPeek input output -> Poke input
- asciiChar :: Poke Char
- asciiDigit :: Poke Word8
- asciiHexDigit :: Poke Word8
Documentation
Specification of a sized and errorless writing action to a pointer.
pokeAndPeek :: PokeAndPeek input output -> Poke input Source #
asciiDigit :: Poke Word8 Source #