stores offset and size used to indicate a byte range
More...
#include <byte_range_info.hpp>
stores offset and size used to indicate a byte range
Definition at line 36 of file byte_range_info.hpp.
◆ byte_range_info() [1/2]
cudf::io::text::byte_range_info::byte_range_info |
( |
int64_t |
offset, |
|
|
int64_t |
size |
|
) |
| |
Constructs a byte_range_info object.
- Parameters
-
offset | offset in bytes |
size | size in bytes |
◆ byte_range_info() [2/2]
cudf::io::text::byte_range_info::byte_range_info |
( |
byte_range_info const & |
other | ) |
|
|
defaultnoexcept |
Copy constructor.
- Parameters
-
◆ is_empty()
bool cudf::io::text::byte_range_info::is_empty |
( |
| ) |
const |
|
inline |
Returns whether the span is empty.
- Returns
- true iff the range is empty, i.e.
size() == 0
Definition at line 84 of file byte_range_info.hpp.
◆ offset()
int64_t cudf::io::text::byte_range_info::offset |
( |
| ) |
const |
|
inline |
◆ operator=()
Copy assignment operator.
- Parameters
-
- Returns
- this object after copying
◆ size()
int64_t cudf::io::text::byte_range_info::size |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: