MCPcopy Create free account
hub / github.com/apache/arrow / span_as

Function span_as

cpp/src/arrow/buffer.h:286–288  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

284 /// \brief Return the buffer's data as a span
285 template <typename T>
286 std::span<const T> span_as() const {
287 return std::span(data_as<T>(), static_cast<size_t>(size() / sizeof(T)));
288 }
289
290 /// \brief Return a writable pointer to the buffer's data
291 ///

Callers

nothing calls this directly

Calls 1

sizeFunction · 0.70

Tested by

no test coverage detected