erl_marshal

erl_marshal

C library

erl_marshal

Library summary

Encoding and Decoding of Erlang terms

Description

This module contains functions for encoding Erlang terms into a sequence of bytes, and for decoding Erlang terms from a sequence of bytes.

Exports

int erl_compare_ext(bufp1, bufp2)

Types:

unsigned char *bufp1,*bufp2;

This function compares two encoded terms.

bufp1 is a buffer containing an encoded Erlang term term1.

bufp2 is a buffer containing an encoded Erlang term term2.

The function returns 0 if the terms are equal, -1 if term1 is less than term2, or 1 if term2 is less than term1.

ETERM *erl_decode(bufp)ETERM *erl_decode_buf(bufpp)

Types:

unsigned char *bufp;
unsigned char **bufpp;