Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/arrow-rs
/ deref
Method
deref
arrow-buffer/src/buffer/immutable.rs:537–539 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
535
type Target = [u8];
536
537
fn deref(&self) -> &[u8] {
538
unsafe { std::slice::from_raw_parts(self.as_ptr(), self.len()) }
539
}
540
}
541
542
impl AsRef<[u8]> for &Buffer {
Callers
nothing calls this directly
Calls
2
as_ptr
Method · 0.45
len
Method · 0.45
Tested by
no test coverage detected