Write a string to the variable-length part and store offset+length in the fixed part.
(&mut self, pos: usize, value: &str)
| 463 | |
| 464 | /// Write a string to the variable-length part and store offset+length in the fixed part. |
| 465 | pub fn write_string(&mut self, pos: usize, value: &str) { |
| 466 | self.write_binary(pos, value.as_bytes()); |
| 467 | } |
| 468 | |
| 469 | /// Write a short string (len <= 7) inline into the fixed part. |
| 470 | pub fn write_string_inline(&mut self, pos: usize, value: &str) { |
no test coverage detected