Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
- runGetA :: Monad m => (Int -> m ByteString) -> (ByteString -> m ()) -> Get a -> m (Either String a)
- runPutA :: (ByteString -> m ()) -> Put -> m ()
- putFloatbe :: Float -> Put
- putFloatle :: Float -> Put
- putFloathost :: Float -> Put
- putDoublebe :: Double -> Put
- putDoublele :: Double -> Put
- putDoublehost :: Double -> Put
- putLength16beByteString :: ByteString -> Put
- putLength32beByteString :: ByteString -> Put
- putWithLength16be :: Put -> Put
- putWithLength32be :: Put -> Put
- putChar8 :: Char -> Put
- getChar8 :: Get Char
- getFloatbe :: Get Float
- getFloatle :: Get Float
- getFloathost :: Get Float
- getDoublebe :: Get Double
- getDoublele :: Get Double
- getDoublehost :: Get Double
- getLength8ByteString :: Get ByteString
- getLength16beByteString :: Get ByteString
- getLength32beByteString :: Get ByteString
- getWithLength16be :: Get a -> Get (a, Word16)
- matchWord8 :: Word8 -> Get ()
- matchChar8 :: Char -> Get ()
Documentation
runGetA :: Monad m => (Int -> m ByteString) -> (ByteString -> m ()) -> Get a -> m (Either String a) Source #
runPutA :: (ByteString -> m ()) -> Put -> m () Source #
putWithLength16be :: Put -> Put Source #
putWithLength32be :: Put -> Put Source #
matchWord8 :: Word8 -> Get () Source #
matchChar8 :: Char -> Get () Source #