ByteRange#
- public final class ByteRange#
Immutable byte range describing an offset and size within a file or buffer.
Mirrors
cudf::io::text::byte_range_info.The APIs in this file are experimental and subject to change.
Constructor Summary
Method Summary
Constructors
- public ByteRange(long offset, long size)#
- Parameters:
offset – starting offset, in bytes, from the beginning of the source
size – length of the range, in bytes
Methods
- public long offset()#
- Returns:
starting byte offset within the source.
- public long size()#
- Returns:
length of the byte range, in bytes.
- public boolean isEmpty()#
- Returns:
truewhen the range has zero size.
- public int hashCode()#