wiredtiger_pack_start

Function wiredtiger_pack_start 

Source
pub unsafe extern "C" fn wiredtiger_pack_start(
    session: *mut WT_SESSION,
    format: *const c_char,
    buffer: *mut c_void,
    size: usize,
    psp: *mut *mut WT_PACK_STREAM,
) -> c_int
Expand description

Start a packing operation into a buffer with the given format string. This should be followed by a series of calls to ::wiredtiger_pack_item, ::wiredtiger_pack_int, ::wiredtiger_pack_str or ::wiredtiger_pack_uint to fill in the values.

@param session the session handle @param format the data format, see @ref packing @param buffer a pointer to memory to hold the packed data @param size the size of the buffer @param[out] psp the new packing stream handle @errors