pub fn null_decode_str(barr: &[u8]) -> Result<String, String>
Decode a null-encoded byte slice back to a string.