(&mut self, value: &str)
| 56 | } |
| 57 | |
| 58 | pub fn add_cstring(&mut self, value: &str) -> &mut Self { |
| 59 | if !value.is_empty() { |
| 60 | self.add_string(value); |
| 61 | } |
| 62 | self.add_bytes(&[0]); |
| 63 | self |
| 64 | } |
| 65 | |
| 66 | pub fn add_string(&mut self, value: &str) -> &mut Self { |
| 67 | let length = byte_length_utf8(value); |
nothing calls this directly
no test coverage detected