Skip to content
TensorStore
tensorstore::OptionalByteRangeRequest::size
Initializing search
    tensorstore
    tensorstore
      • Tutorial
      • Indexing
      • API reference
      • API reference
        • Core
        • Indexing
        • Data types
        • Array
        • Key-value storage
          • C Spec
          • C KvStore
          • C ByteRange
          • C OptionalByteRangeRequest
            • Constructors
            • Methods
              • F IsFull
              • F IsRange
              • F IsSuffixLength
              • F IsSuffix
              • F IsStat
              • F Range
              • F SuffixLength
              • F Suffix
              • F Stat
              • F size
                • Dchecks
              • F AsByteRange
              • F SatisfiesInvariants
              • F Validate
            • Data members
            • Friend functions
          • C StorageGeneration
          • C TimestampedStorageGeneration
          • C KeyRange
        • Downsampling
        • Utilities
      • Building and Installing
      • Environment variables
      • JSON Spec
      • Index space
      • Schema
      • Context framework
      • Drivers
      • Key-Value Storage Layer
    • Dchecks
    #include "tensorstore/kvstore/byte_range.h"
    int64_t tensorstore::OptionalByteRangeRequest::size() const;

    Returns the number of bytes contained in the range, or -1 if unknown.

    Dchecks:¶

    SatisfiesInvariants()