Safe Haskell | None |
---|---|
Language | Haskell2010 |
Data.Encoding.ByteSink
Contents
Documentation
class (Monad m, Throws EncodingException m) => ByteSink m where Source #
Minimal complete definition
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 #
Constructors
PutME (Either EncodingException (PutM (), a)) |
newtype StrictSink a Source #
newtype StrictSinkE a Source #
Constructors
StrictSinkE (StrictSink (Either EncodingException a)) |
createStrictWithLen :: StrictSink a -> Int -> (a, ByteString) Source #
createStrict :: StrictSink a -> (a, ByteString) Source #
newtype StrictSinkExplicit a Source #
Constructors
StrictSinkExplicit (StrictSink (Either EncodingException a)) |