MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / as_ref

Method as_ref

rust/src/data_buffer.rs:202–204  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

200
201impl AsRef<[u8]> for DataBuffer {
202 fn as_ref(&self) -> &[u8] {
203 self.get_data()
204 }
205}
206
207impl std::borrow::Borrow<[u8]> for DataBuffer {

Callers 4

borrowMethod · 0.45
eqMethod · 0.45
partial_cmpMethod · 0.45
cmpMethod · 0.45

Calls 1

get_dataMethod · 0.45

Tested by

no test coverage detected