encoding-0.8.5: A library for various character encodings

Safe HaskellSafe
LanguageHaskell2010

Data.Encoding.ByteSource

Contents

Documentation

class (Monad m, Throws DecodingException m) => ByteSource m where Source #

Minimal complete definition

sourceEmpty, fetchWord8, fetchAhead

Instances
ByteSource Get Source # 
Instance details

Defined in Data.Encoding.ByteSource

ByteSource (StateT [Char] (Either DecodingException)) Source # 
Instance details

Defined in Data.Encoding.ByteSource

ByteSource (StateT [Char] Identity) Source # 
Instance details

Defined in Data.Encoding.ByteSource

ByteSource (StateT ByteString (Either DecodingException)) Source # 
Instance details

Defined in Data.Encoding.ByteSource

(Monad m, Throws DecodingException m) => ByteSource (StateT ByteString m) Source # 
Instance details

Defined in Data.Encoding.ByteSource

ByteSource (ReaderT Handle IO) Source # 
Instance details

Defined in Data.Encoding.ByteSource

fetchAheadState :: MonadState s m => m (Maybe a) -> m (Maybe a) Source #

Orphan instances