encoding-0.5.1: A library for various character encodings
Source code
Contents
Index
Data.Encoding.ByteSink
Documentation
class
(
Monad
m,
Throws
EncodingException
m) =>
ByteSink
m
where
Source
Methods
pushWord8
::
Word8
-> m
()
Source
pushWord16be
::
Word16
-> m
()
Source
pushWord16le
::
Word16
-> m
()
Source
pushWord32be
::
Word32
-> m
()
Source
pushWord32le
::
Word32
-> m
()
Source
pushWord64be
::
Word64
-> m
()
Source
pushWord64le
::
Word64
-> m
()
Source
Instances
ByteSink
PutM
ByteSink
StrictSinkExplicit
ByteSink
StrictSinkE
ByteSink
StrictSink
ByteSink
PutME
ByteSink
(
State
(
Seq
Char
))
ByteSink
(
StateT
(
Seq
Char
) (
Either
EncodingException
))
ByteSink
(
ReaderT
Handle
IO
)
newtype
PutME
a
Source
Constructors
PutME
(
Either
EncodingException
(
PutM
()
, a))
Instances
Monad
PutME
ByteSink
PutME
Throws
EncodingException
PutME
newtype
StrictSink
a
Source
Constructors
StrictS
(
Ptr
Word8
->
Int
->
Int
->
IO
(a,
Ptr
Word8
,
Int
,
Int
))
Instances
Monad
StrictSink
ByteSink
StrictSink
Throws
EncodingException
StrictSink
newtype
StrictSinkE
a
Source
Constructors
StrictSinkE
(
StrictSink
(
Either
EncodingException
a))
Instances
Monad
StrictSinkE
ByteSink
StrictSinkE
Throws
EncodingException
StrictSinkE
createStrictWithLen
::
StrictSink
a ->
Int
-> (a,
ByteString
)
Source
createStrict
::
StrictSink
a -> (a,
ByteString
)
Source
newtype
StrictSinkExplicit
a
Source
Constructors
StrictSinkExplicit
(
StrictSink
(
Either
EncodingException
a))
Instances
Monad
StrictSinkExplicit
ByteSink
StrictSinkExplicit
Throws
EncodingException
StrictSinkExplicit
Produced by
Haddock
version 2.4.2