示例#1
0
 /// <summary>
 /// Constructs TarReader object to read data from `tarredData` stream
 /// </summary>
 /// <param name="tarredData">A stream to read tar archive from</param>
 public TarReader(Stream tarredData)
 {
     inStream = tarredData;
     header   = new UsTarHeader();
 }
示例#2
0
 /// <summary>
 /// Constructs TarReader object to read data from `tarredData` stream
 /// </summary>
 /// <param name="tarredData">A stream to read tar archive from</param>
 public TarReader(Stream tarredData)
 {
     inStream = tarredData;
     header = new UsTarHeader();
 }