pub unsafe extern "C" fn wiredtiger_struct_unpack(
session: *mut WT_SESSION,
buffer: *const c_void,
len: usize,
format: *const c_char,
...
) -> c_intExpand description
Unpack a structure from a buffer.
Reverse of ::wiredtiger_struct_pack: gets values out of a packed byte string.
@snippet ex_all.c Unpack fields from a buffer
@param session the session handle @param buffer a pointer to a packed byte array @param len the number of valid bytes in the buffer @param format the data format, see @ref packing @errors