Store complete tmap (trivial map) object
Put a full tmap object into the store, replacing what was there.
The format of buf is: - 4 bytes - length of header (little endian) - N bytes - header data - 4 bytes - number of keys (little endian)
and for each key, - 4 bytes - key name length (little endian) - N bytes - key name - 4 bytes - value length (little endian) - M bytes - value data
@param io ioctx @param o object name @param buf buffer @param buflen buffer length in bytes @returns 0 on success, negative error code on failure
See Implementation
Store complete tmap (trivial map) object
Put a full tmap object into the store, replacing what was there.
The format of buf is: - 4 bytes - length of header (little endian) - N bytes - header data - 4 bytes - number of keys (little endian)
and for each key, - 4 bytes - key name length (little endian) - N bytes - key name - 4 bytes - value length (little endian) - M bytes - value data
@param io ioctx @param o object name @param buf buffer @param buflen buffer length in bytes @returns 0 on success, negative error code on failure