encoding-0.5.1: A library for various character encodings
Source code
Contents
Index
Data.Encoding.ByteSource
Documentation
class
(
Monad
m,
Throws
DecodingException
m) =>
ByteSource
m
where
Source
Methods
sourceEmpty
:: m
Bool
Source
fetchWord8
:: m
Word8
Source
fetchAhead
:: m a -> m 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
ByteSource
Get
ByteSource
(
State
([]
Char
))
ByteSource
(
State
ByteString
)
ByteSource
(
StateT
([]
Char
) (
Either
DecodingException
))
ByteSource
(
StateT
ByteString
(
Either
DecodingException
))
ByteSource
(
StateT
ByteString
(
Either
DecodingException
))
ByteSource
(
ReaderT
Handle
IO
)
Produced by
Haddock
version 2.4.2