cloudi-1.7.1: Haskell CloudI API

Safe HaskellSafe
LanguageHaskell2010

Foreign.Erlang

Description

Erlang Binary Term Format Encoding/Decoding

Synopsis

Documentation

binaryToTerm :: LazyByteString -> Result OtpErlangTerm Source

Decode Erlang terms within binary data into Haskell types

termToBinary :: OtpErlangTerm -> Int -> Result LazyByteString Source

Encode Haskell types into Erlang terms in binary data