rados_writesame

Write the same *data_len* bytes from *buf* multiple times into the *oid* object. *write_len* bytes are written in total, which must be a multiple of *data_len*. The value of *write_len* and *data_len* must be <= UINT_MAX/2.

@param io the io context in which the write will occur @param oid name of the object @param buf data to write @param data_len length of the data, in bytes @param write_len the total number of bytes to write @param off byte offset in the object to begin writing at @returns 0 on success, negative error code on failure

extern (C)
int
rados_writesame
(,
const(char)* oid
,
const(char)* buf
,
size_t data_len
,
size_t write_len
,
ulong off
)

Meta