Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Module that define encoding and decoding function from Expression type to binary format.
Synopsis
Documentation
decodeExpression :: HasCallStack => ByteString -> Expression Source #
Partial version of eitherDecodeExpression
.
eitherDecodeExpression :: ByteString -> Either UnpackError Expression Source #
Decode Expression
from ByteString
.
encodeExpression :: Expression -> LByteString Source #
Encode Expression
to ByteString
.
encodeExpression' :: Expression -> ByteString Source #
Same as encodeExpression
, for strict bytestring.