The number of unflushed records, including the partially decoded record (if any).
(&self)
| 660 | |
| 661 | /// The number of unflushed records, including the partially decoded record (if any). |
| 662 | pub fn len(&self) -> usize { |
| 663 | self.tape_decoder.num_buffered_rows() |
| 664 | } |
| 665 | |
| 666 | /// True if there are no records to flush, i.e. [`Self::len`] is zero. |
| 667 | pub fn is_empty(&self) -> bool { |