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

Method as_str

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

Source from the content-addressed store, hash-verified

89 }
90
91 pub fn as_str(&self) -> &str {
92 unsafe { CStr::from_ptr(self.raw).to_str().unwrap() }
93 }
94
95 pub fn as_bytes(&self) -> &[u8] {
96 self.as_str().as_bytes()

Callers 15

createMethod · 0.80
strings_to_string_listFunction · 0.80
as_bytesMethod · 0.80
lenMethod · 0.80
is_emptyMethod · 0.80
into_bytes_with_nulMethod · 0.80
shutdownFunction · 0.80
init_with_optsFunction · 0.80
license_locationFunction · 0.80
get_open_filename_inputFunction · 0.80
get_save_filename_inputFunction · 0.80
get_directory_name_inputFunction · 0.80

Calls

no outgoing calls

Tested by 3

modify_projectFunction · 0.64