use crateSegment;
/// An iterator for `Segment`.
///
/// Difference from a normal iterator (this is required for efficient binary construction):
///
/// * It knows exactly the number of bytes of all segments combined.
/// * It can tell whether there's just one single non-empty segment in this iterator.