Safe Haskell | Safe-Inferred |
---|
Documentation
class (Monad m, Throws DecodingException m) => ByteSource m whereSource
sourceEmpty :: m BoolSource
fetchWord8 :: m Word8Source
fetchAhead :: m (Maybe a) -> m (Maybe a)Source
fetchWord16be :: m Word16Source
fetchWord16le :: m Word16Source
fetchWord32be :: m Word32Source
fetchWord32le :: m Word32Source
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