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