(&mut self)
| 281 | /// Flushes the in progress block if any |
| 282 | #[inline] |
| 283 | fn flush_in_progress(&mut self) { |
| 284 | if !self.in_progress.is_empty() { |
| 285 | let f = Buffer::from_vec(std::mem::take(&mut self.in_progress)); |
| 286 | self.push_completed(f) |
| 287 | } |
| 288 | } |
| 289 | |
| 290 | /// Append a block to `self.completed`, checking for overflow |
| 291 | #[inline] |