(&mut self)
| 215 | /// Reset buffer by setting cursor position to zero. |
| 216 | #[inline(always)] |
| 217 | pub fn reset(&mut self) { |
| 218 | // SAFETY: 0 is always valid position |
| 219 | unsafe { |
| 220 | self.set_pos_unchecked(0); |
| 221 | } |
| 222 | } |
| 223 | |
| 224 | /// Pad remaining data with zeros and return resulting block. |
| 225 | #[inline(always)] |
no test coverage detected