TensorStore
tensorstore::GetByteExtent[array]
Initializing search
    tensorstore
    tensorstore
      • Tutorial
      • Indexing
      • API reference
      • API reference
        • Core
        • Indexing
        • Data types
        • Array
          • EContainerKind
          • CByteStridedPointer
          • CStridedLayout
          • CElementPointer
          • CArray
            • Types
            • Data members
            • Constructors
            • Methods
            • Indexing
            • Friend functions
            • Comparison
            • Related Types
            • Related Constants
            • Related Functions
              • FSubArray
              • FArrayOriginCast
              • FUnownedToShared
              • FInitializeArray
              • FAllocateArrayElementsLike
              • FArraysHaveSameShapes
              • FIterateOverArrays
              • FGetBoxDomainOf
              • FAreArraysEqual
              • FIsContiguousLayout
              • FGetByteExtent
              • FApplyIndexTransform
            • Creation functions
            • Copy functions
            • Formatting
            • Broadcasting
          • CTransformedArray
          • Transformation
          • Iteration
        • Key-value storage
        • Downsampling
        • Utilities
      • Building and Installing
      • Environment variables
      • JSON Spec
      • Index space
      • Schema
      • Context framework
      • Drivers
      • Key-Value Storage Layer
    #include "tensorstore/array.h"
    template <typename ElementTag,
             
     DimensionIndex Rank,
             
     ArrayOriginKind OriginKind,
             
     ContainerKind LayoutCKind>
    Index tensorstore::GetByteExtent(
        
    const Array<ElementTag, Rank, OriginKind, LayoutCKind>& array);

    Returns minimum number of contiguous bytes into which the array fits.

    Back to top
    Previous tensorstore::IsContiguousLayout[array]
    Next tensorstore::ApplyIndexTransform[Array]