TensorStore
tensorstore::OptionalByteRangeRequest::OptionalByteRangeRequest[inclusive_min, exclusive_max]
Initializing search
    tensorstore
    tensorstore
      • Tutorial
      • Indexing
      • API reference
      • API reference
        • Core
        • Indexing
        • Data types
        • Array
        • Key-value storage
          • CSpec
          • CKvStore
          • CByteRange
          • COptionalByteRangeRequest
            • Constructors
              • FOptionalByteRangeRequest [full]
              • FOptionalByteRangeRequest [inclusive_min, exclusive_max]
              • FOptionalByteRangeRequest [ByteRange]
            • Methods
            • Data members
            • Friend functions
          • CStorageGeneration
          • CTimestampedStorageGeneration
          • CKeyRange
        • Downsampling
        • Utilities
      • Building and Installing
      • Environment variables
      • JSON Spec
      • Index space
      • Schema
      • Context framework
      • Drivers
      • Key-Value Storage Layer
    #include "tensorstore/kvstore/byte_range.h"
    explicit constexpr tensorstore::OptionalByteRangeRequest::
        
    OptionalByteRangeRequest(int64_t inclusive_min,
                                 
    int64_t exclusive_max = -1);

    Constructs from the specified bounds.

    If inclusive_min < 0, it indicates a byte offset relative to the end, and exclusive_max must be left as -1.

    If exclusive_max == -1, it indicates that the byte range continues until the end of the value.

    Back to top
    Previous tensorstore::OptionalByteRangeRequest::OptionalByteRangeRequest[full]
    Next tensorstore::OptionalByteRangeRequest::OptionalByteRangeRequest[ByteRange]