MCPcopy Create free account
hub / github.com/ashvardanian/StringZilla / as_ptr

Method as_ptr

rust/stringzilla.rs:776–778  ·  view source on GitHub ↗

Returns the raw pointer to the C string.

(&self)

Source from the content-addressed store, hash-verified

774
775 /// Returns the raw pointer to the C string.
776 pub fn as_ptr(&self) -> *const u8 {
777 self.buf.as_ptr()
778 }
779
780 /// Returns a reference as a CStr.
781 /// # Safety

Callers 15

to_sz_sequenceMethod · 0.80
deallocateMethod · 0.80
newMethod · 0.80
buildMethod · 0.80
updateMethod · 0.80
bytesumFunction · 0.80
move_Function · 0.80
fillFunction · 0.80
copyFunction · 0.80
lookupFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected