public TsUnit(IEnumerable <TsPacket> packets) { _packets = new List <TsPacket>(packets); _payload = new TsUnitPayload(_packets); }
public TsUnit(int capacity) { _packets = new List <TsPacket>(capacity); _payload = new TsUnitPayload(_packets); }
public TsUnit(IEnumerable <TsPacket> packets) { _packets = Portability.CreateList(packets); _payload = new TsUnitPayload(_packets); }
public TsUnit() { _packets = new List <TsPacket>(); _payload = new TsUnitPayload(_packets); }
public TsUnit(int capacity) { _packets = Portability.CreateList <TsPacket>(capacity); _payload = new TsUnitPayload(_packets); }