Casts a byte slice to a mutable NoNullStr without checking it for validity.
impl NoNullStr {
unsafe fn from_mut_bytes_unchecked(bytes: &mut [u8]) -> &mut NoNullStr
}| Name | Description |
|---|---|
| bytes | The slice to be interpreted as a |
If the slice contains null bytes, the behavior is undefined.