MCPcopy Create free account
hub / github.com/apache/arrow-rs / data_ptr

Method data_ptr

arrow-buffer/src/buffer/immutable.rs:115–117  ·  view source on GitHub ↗

Returns the pointer to the start of the buffer without the offset.

(&self)

Source from the content-addressed store, hash-verified

113
114 /// Returns the pointer to the start of the buffer without the offset.
115 pub fn data_ptr(&self) -> NonNull<u8> {
116 self.data.ptr()
117 }
118
119 /// Returns the number of strong references to the buffer.
120 ///

Callers

nothing calls this directly

Calls 1

ptrMethod · 0.80

Tested by

no test coverage detected