[][src]Module ddmw_util::kvparam

Utility functions for managing key-value parameter buffers, sometimes used for metadata buffers in DDMW.

Structs

KVParams

Representation of a list of key-value that can be serialized for commonly used metadata format.

Functions

calc_buf_size

A key-value parameter buffer is implemented as a HashMap<String,String>. This function precalculates the size requirement for the serialized version of the kvparam buffer.