Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data Peek output = Peek !Int !(Ptr Word8 -> IO output)
- word8 :: Peek Word8
- beWord16 :: Peek Word16
- beWord32 :: Peek Word32
- beWord64 :: Peek Word64
- bytes :: Int -> Peek ByteString
- pokeAndPeek :: PokeAndPeek input output -> Peek output
- parse :: Int -> Parse a -> (Int -> a) -> (Text -> a) -> Peek a
- peekAmountAndParse :: Peek Int -> Parse a -> (Int -> a) -> (Text -> a) -> Peek (Peek a)
Documentation
pokeAndPeek :: PokeAndPeek input output -> Peek output Source #