tiledb_vfs_read {tiledb} | R Documentation |
Read from a TileDB VFS Filehandle
Description
This interface currently defaults to reading an integer vector. This is suitable for R objects
as a raw vector used for (de)serialization can be mapped easily to an integer vector. It is
also possible to memcpy
to the contiguous memory of an integer vector should other
(non-R) data be transferred.
Usage
tiledb_vfs_read(fh, offset, nbytes, ctx = tiledb_get_context())
Arguments
fh |
A TileDB VFS Filehandle external pointer as returned from |
offset |
A scalar value with the byte offset from the beginning of the file with a of zero. |
nbytes |
A scalar value with the number of bytes to be read. |
ctx |
(optional) A TileDB Ctx object |
Value
The binary file content is returned as an integer vector.
[Package tiledb version 0.29.0 Index]