Reads sets of contiguous values in the file array. A set of contiguous values are values that are connecting without a break. It is much faster to read contiguous sequences at once than read each value separately.
# S3 method for AbstractFileArray
readContiguousValues(this, indices, lengths=1, mode=getStorageMode(this),
size=getBytesPerCell(this), offset=getDataOffset(this), ..., .checkArgs=TRUE)
Returns a numeric
A numeric
vector
of start (first) indices in each of
the contiguous sets.
A numeric
vector
specifying the length of each of the
contiguous sets.
The storage mode to read.
The number of bytes each values allocates on file.
The file offset to the first value on file.
Not used.
If TRUE
, arguments are validated, otherwise not.
Henrik Bengtsson
*readAllValues()
and readValues
().
For more information see AbstractFileArray
.