-
#include "tensorstore/kvstore/byte_range.h"
- struct tensorstore::ByteRange;
Specifies a range of bytes within a stored value.
Data members¶
- int64_t inclusive_min;
Specifies the starting byte (inclusive).
- int64_t exclusive_max;
Specifies the ending byte (exclusive).
Methods¶
- constexpr bool SatisfiesInvariants() const;
Checks that this byte range is valid.
Friend functions¶
- friend bool operator==(const ByteRange& a, const ByteRange& b);
- friend bool operator!=(const ByteRange& a, const ByteRange& b);
Compares two byte ranges for equality.
- friend std::ostream& operator<<(std::ostream& os, const ByteRange& r);
Prints a debugging string representation to an
std::ostream
.