Example #1
0
 public TsUnit(IEnumerable <TsPacket> packets)
 {
     _packets = new List <TsPacket>(packets);
     _payload = new TsUnitPayload(_packets);
 }
Example #2
0
 public TsUnit(int capacity)
 {
     _packets = new List <TsPacket>(capacity);
     _payload = new TsUnitPayload(_packets);
 }
Example #3
0
 public TsUnit(IEnumerable <TsPacket> packets)
 {
     _packets = Portability.CreateList(packets);
     _payload = new TsUnitPayload(_packets);
 }
Example #4
0
 public TsUnit()
 {
     _packets = new List <TsPacket>();
     _payload = new TsUnitPayload(_packets);
 }
Example #5
0
 public TsUnit(int capacity)
 {
     _packets = Portability.CreateList <TsPacket>(capacity);
     _payload = new TsUnitPayload(_packets);
 }