Returns if this [`SegmentedBytes`] is empty.
(&self)
| 99 | |
| 100 | /// Returns if this [`SegmentedBytes`] is empty. |
| 101 | pub fn is_empty(&self) -> bool { |
| 102 | self.len() == 0 |
| 103 | } |
| 104 | |
| 105 | /// Consumes `self` returning an [`Iterator`] over all of the non-contiguous segments |
| 106 | /// that make up this buffer. |
no test coverage detected