binaryninja::string

Trait BnStrCompatible

source
pub unsafe trait BnStrCompatible {
    type Result: AsRef<[u8]>;

    // Required method
    fn into_bytes_with_nul(self) -> Self::Result;
}

Required Associated Types§

Required Methods§

Implementations on Foreign Types§

source§

impl BnStrCompatible for &str

source§

impl BnStrCompatible for &String

source§

impl BnStrCompatible for &Path

source§

impl BnStrCompatible for Cow<'_, str>

source§

impl BnStrCompatible for CString

source§

impl BnStrCompatible for String

source§

impl BnStrCompatible for PathBuf

source§

impl<'a> BnStrCompatible for &'a Cow<'a, str>

source§

impl<'a> BnStrCompatible for &'a CStr

source§

type Result = &'a [u8]

source§

fn into_bytes_with_nul(self) -> Self::Result

Implementors§