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

Method deref

arrow-buffer/src/bytes.rs:213–215  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

211 type Target = [u8];
212
213 fn deref(&self) -> &[u8] {
214 unsafe { slice::from_raw_parts(self.ptr.as_ptr(), self.len) }
215 }
216}
217
218impl PartialEq for Bytes {

Callers

nothing calls this directly

Calls 1

as_ptrMethod · 0.45

Tested by

no test coverage detected