unsafe fn as_slice(data: &[u8]) -> noblit_slice_t {
    noblit_slice_t {
        data: data.as_ptr(),
        len: data.len(),
    }
}
/// Unsafely cast a byte slice to a struct exposable through the FFI.
Unsafely cast a byte slice to a struct exposable through the FFI.
Unsafely cast a byte slice to a struct exposable through the FFI .
unsafe fn as_slice(data: &[u8]) -> noblit_slice_t {
    noblit_slice_t {
        data: data.as_ptr(),
        len: data.len(),
    }
}
unsafe fn as_slice ( data : & [ u8 ] ) -> noblit_slice_t { noblit_slice_t { data : data . as_ptr ( ) , len : data . len ( ) , } }
Unsafely cast a byte slice to a struct exposable through the FFI.
Unsafely cast a byte slice to a struct exposable through the FFI .
data
&[u8]
data
&[u8]