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

Method is_empty

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

Source from the content-addressed store, hash-verified

157 }
158
159 pub fn is_empty(&self) -> bool {
160 self.len() == 0
161 }
162
163 pub fn new(data: &[u8]) -> Result<Self, ()> {
164 let buffer = unsafe { BNCreateDataBuffer(data.as_ptr() as *const c_void, data.len()) };

Callers

nothing calls this directly

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected