Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
class (Monad m, Throws EncodingException m) => ByteSink m where Source #
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
PutME (Either EncodingException (PutM (), a)) |
Instances
Monad PutME Source # | |
Functor PutME Source # | |
Applicative PutME Source # | |
ByteSink PutME Source # | |
Defined in Data.Encoding.ByteSink | |
Throws EncodingException PutME Source # | |
Defined in Data.Encoding.ByteSink throwException :: EncodingException -> PutME a Source # |
newtype StrictSink a Source #
Instances
newtype StrictSinkE a Source #
Instances
createStrictWithLen :: StrictSink a -> Int -> (a, ByteString) Source #
createStrict :: StrictSink a -> (a, ByteString) Source #
newtype StrictSinkExplicit a Source #