Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell98 |
Documentation
class (Monad m, Throws DecodingException m) => ByteSource m where Source
sourceEmpty :: m Bool Source
fetchWord8 :: m Word8 Source
fetchAhead :: m (Maybe a) -> m (Maybe a) Source
fetchWord16be :: m Word16 Source
fetchWord16le :: m Word16 Source
fetchWord32be :: m Word32 Source
fetchWord32le :: m Word32 Source
fetchWord64be :: m Word64 Source
fetchWord64le :: m Word64 Source
ByteSource Get | |
ByteSource (ReaderT Handle IO) | |
ByteSource (StateT [Char] (Either DecodingException)) | |
ByteSource (StateT [Char] Identity) | |
(Monad m, Throws DecodingException m) => ByteSource (StateT ByteString m) | |
ByteSource (StateT ByteString (Either DecodingException)) |
fetchAheadState :: MonadState s m => m (Maybe a) -> m (Maybe a) Source