Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
create
Method · 0.80
strings_to_string_list
Function · 0.80
as_bytes
Method · 0.80
len
Method · 0.80
is_empty
Method · 0.80
into_bytes_with_nul
Method · 0.80
shutdown
Function · 0.80
init_with_opts
Function · 0.80
license_location
Function · 0.80
get_open_filename_input
Function · 0.80
get_save_filename_input
Function · 0.80
get_directory_name_input
Function · 0.80
Calls
no outgoing calls
Tested by
3
test_background_task_registered
Function · 0.64
test_background_task_cancellable
Function · 0.64
modify_project
Function · 0.64