pub unsafe extern "C" fn wiredtiger_unpack_start(
session: *mut WT_SESSION,
format: *const c_char,
buffer: *const c_void,
size: usize,
psp: *mut *mut WT_PACK_STREAM,
) -> c_intExpand description
Start an unpacking operation from a buffer with the given format string. This should be followed by a series of calls to ::wiredtiger_unpack_item, ::wiredtiger_unpack_int, ::wiredtiger_unpack_str or ::wiredtiger_unpack_uint to retrieve the packed values.
@param session the session handle @param format the data format, see @ref packing @param buffer a pointer to memory holding the packed data @param size the size of the buffer @param[out] psp the new packing stream handle @errors