Sets a byte in the slice to a value.
impl NoNullStr { fn set(&mut self, idx: usize, val: u8) -> () }
The index of the byte to be set.
The value of the byte.
If val == 0, the process is aborted.
val == 0