Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data Poking = Poking !Int !(Ptr Word8 -> IO ())
- prependConc :: Poking -> Poking -> Poking
- word8 :: Word8 -> Poking
- beWord32 :: Word32 -> Poking
- beWord64 :: Word64 -> Poking
- bytes :: ByteString -> Poking
- poke :: Poke input -> input -> Poking
- pokeAndPeek :: PokeAndPeek input output -> input -> Poking
- asciiIntegral :: Integral a => a -> Poking
- paddedAndTrimmedAsciiIntegral :: Integral a => Int -> a -> Poking
- asciiChar :: Char -> Poking
Documentation
Efficiently composable specification of how to populate a pointer.
bytes :: ByteString -> Poking Source #
pokeAndPeek :: PokeAndPeek input output -> input -> Poking Source #
asciiIntegral :: Integral a => a -> Poking Source #