Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TarInputStream"/> class.
 /// </summary>
 /// <param name="inputStream">stream to source data from.</param>
 /// <param name="blockFactor">block factor to apply to archive.</param>
 public TarInputStream(Stream inputStream, int blockFactor)
 {
     this.inputStream = inputStream;
     tarBuffer        = TarBuffer.CreateInputTarBuffer(inputStream, blockFactor);
 }