pub unsafe fn runtime_bytes_slice_mut<'a>(
bytes: RuntimeBytesMutRef,
) -> Result<&'a mut [u8], &'static str>Expand description
Converts an ABI mutable byte reference into a mutable Rust slice.
ยงSafety
The caller must ensure bytes.ptr is valid and uniquely borrowed for
bytes.len bytes for the returned lifetime.