rados_read

Read data from an object

The io context determines the snapshot to read from, if any was set by rados_ioctx_snap_set_read().

@param io the context in which to perform the read @param oid the name of the object to read from @param buf where to store the results @param len the number of bytes to read @param off the offset to start reading from in the object @returns number of bytes read on success, negative error code on failure

extern (C)
int
rados_read
(,
const(char)* oid
,
char* buf
,
size_t len
,
ulong off
)

Meta