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

Method as_bytes_with_null

rust/src/string.rs:99–101  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

97 }
98
99 pub fn as_bytes_with_null(&self) -> &[u8] {
100 self.deref().to_bytes()
101 }
102
103 pub fn len(&self) -> usize {
104 self.as_str().len()

Callers

nothing calls this directly

Calls 1

derefMethod · 0.45

Tested by

no test coverage detected