public void WriteSequenceSet(RangeSet ranges) { if (ranges == null) { WriteUint16(0); } else { WriteUint16(ranges.Size() * 8); foreach (Range range in ranges) { WriteSequenceNo(range.Lower); WriteSequenceNo(range.Upper); } } }
public void WriteSequenceSet(RangeSet ranges) { if (ranges == null) { WriteUint16(0); } else { WriteUint16(ranges.Size()*8); foreach (Range range in ranges) { WriteSequenceNo(range.Lower); WriteSequenceNo(range.Upper); } } }