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;

Compares two encoded terms.

  • bufp1 is a buffer containing an encoded Erlang term term1.
  • bufp2 is a buffer containing an encoded Erlang term term2.

Returns 0 if the terms are equal, -1 if term1 < term2, or 1 if term2 < term1.

ET