# Safety assume the buffer is contiguous and writable
(&self)
| 81 | /// # Safety |
| 82 | /// assume the buffer is contiguous and writable |
| 83 | pub unsafe fn contiguous_mut_unchecked(&self) -> BorrowedValueMut<'_, [u8]> { |
| 84 | self.obj_bytes_mut() |
| 85 | } |
| 86 | |
| 87 | pub fn append_to(&self, buf: &mut Vec<u8>) { |
| 88 | if let Some(bytes) = self.as_contiguous() { |
no test coverage detected