Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
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 #
Instances
fetchAheadState :: MonadState s m => m (Maybe a) -> m (Maybe a) Source #