dict_serialize

March 26, 2020

Name

dict_serialize — Serialize a dictionary, for writing to disk or network

Synopsis

#include "ecdict.h"

| int **dict_serialize** ( | d, |   |
|   | dest); |   |

ECDict <var class="pdparam">d</var>;
string * <var class="pdparam">dest</var>;

Description

Serialize a dictionary, for writing to disk or network.

Parameters

a

An ECDict is a typedef of an ec_hash_table.

dest

The “string”.

Return Value

This function returns the length of the serialized string.

Threading

It is legal to call this function in any thread.

See Also

dict_unserialize