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);
         }
     }
 }
Пример #2
0
 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);
         }
     }
 }