rados_write_full

Write *len* bytes from *buf* into the *oid* object. The value of *len* must be <= UINT_MAX/2.

The object is filled with the provided data. If the object exists, it is atomically truncated and then written.

@param io the io context in which the write will occur @param oid name of the object @param buf data to write @param len length of the data, in bytes @returns 0 on success, negative error code on failure

extern (C)
int
rados_write_full
(,
const(char)* oid
,
const(char)* buf
,
size_t len
)

Meta