Returns the number of bytes contained in this [`SegmentedBytes`].
(&self)
| 94 | |
| 95 | /// Returns the number of bytes contained in this [`SegmentedBytes`]. |
| 96 | pub fn len(&self) -> usize { |
| 97 | self.len |
| 98 | } |
| 99 | |
| 100 | /// Returns if this [`SegmentedBytes`] is empty. |
| 101 | pub fn is_empty(&self) -> bool { |
no outgoing calls