#include "tensorstore/util/element_pointer.h"
template <typename T>
std::shared_ptr<T>
tensorstore::AddByteOffset(const std::shared_ptr<T>x,
                           
Index byte_offset);

Adds a byte offset to a shared_ptr.

The returned pointer shares ownership with the original.