Safe Haskell | Safe |
---|---|
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 Source # | |
ByteSource (StateT [Char] (Either DecodingException)) Source # | |
ByteSource (StateT [Char] Identity) Source # | |
ByteSource (StateT ByteString (Either DecodingException)) Source # | |
(Monad m, Throws DecodingException m) => ByteSource (StateT ByteString m) Source # | |
ByteSource (ReaderT * Handle IO) Source # | |
fetchAheadState :: MonadState s m => m (Maybe a) -> m (Maybe a) Source #