Skip to content
TensorStore
tensorstore::OptionalByteRangeRequest::Validate
Initializing search
    tensorstore
    tensorstore
      • Tutorial
      • Indexing
      • API reference
      • API reference
        • Core
        • Indexing
        • Data types
        • Array
        • Key-value storage
          • CSpec
          • CKvStore
          • CByteRange
          • COptionalByteRangeRequest
            • Constructors
            • Methods
              • FIsFull
              • FIsRange
              • FIsSuffixLength
              • FIsSuffix
              • FIsStat
              • FRange
              • FSuffixLength
              • FSuffix
              • FStat
              • Fsize
              • FAsByteRange
              • FSatisfiesInvariants
              • FValidate
                • Error absl::StatusCode::kOutOfRange
            • 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
    • Error absl::StatusCode::kOutOfRange
    #include "tensorstore/kvstore/byte_range.h"
    Result<ByteRange>
    tensorstore::OptionalByteRangeRequest::Validate(int64_t size) const;

    Returns a ByteRange for an object of size.

    Error absl::StatusCode::kOutOfRange:¶

    if inclusive_min or *exclusive_max are not within the object size.

    Back to top
    Previous tensorstore::OptionalByteRangeRequest::SatisfiesInvariants
    Next tensorstore::OptionalByteRangeRequest::inclusive_min