pub fn as_slice(&self) -> &[u8] {
        use std::mem::transmute;
        sa::assert_eq_size!(u8, ::std::os::raw::c_char);

        unsafe {
            // SAFETY: Casting signed bytes to unsigned bytes is defined behavior.
            transmute::<&[::std::os::raw::c_char], &[u8]>(&self.0.m8[0..self.len()])
        }
    }
/// Returns the network name as a byte slice with no trailing zeros.
Returns the network name as a byte slice with no trailing zeros.
Returns the network name as a byte slice with no trailing zeros .
pub fn as_slice(&self) -> &[u8] {
        use std::mem::transmute;
        sa::assert_eq_size!(u8, ::std::os::raw::c_char);
        unsafe {
            // SAFETY: Casting signed bytes to unsigned bytes is defined behavior.
            transmute::<&[::std::os::raw::c_char], &[u8]>(&self.0.m8[0..self.len()])
        }
    }
pub fn as_slice ( & self ) -> & [ u8 ] { use std :: mem :: transmute ; sa :: assert_eq_size ! ( u8 std os raw c_char ) ; unsafe { // SAFETY: Casting signed bytes to unsigned bytes is defined behavior. transmute :: < & [ :: std :: os :: raw :: c_char ] , & [ u8 ] > ( & self . 0 . m8 [ 0 .. self . len ( ) ] ) } }
Returns the network name as a byte slice with no trailing zeros.
Returns the network name as a byte slice with no trailing zeros .
&self
&self