Close() public method

Close the TarBuffer. If this is an output buffer, also flush the current block before closing.
public Close ( ) : void
return void
Example #1
0
 protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         tarBuffer.Close();
     }
 }
Example #2
0
 protected override void Dispose(bool disposing)
 {
     if (!isClosed)
     {
         isClosed = true;
         Finish();
         buffer.Close();
     }
 }
Example #3
0
 public override void Close()
 {
     if (!isClosed)
     {
         isClosed = true;
         Finish();
         buffer.Close();
     }
 }
Example #4
0
 /// <summary>
 /// Ends the TAR archive and closes the underlying OutputStream.
 /// This means that finish() is called followed by calling the
 /// TarBuffer's close().
 /// </summary>
 public override void Close()
 {
     Finish();
     buffer.Close();
 }
Example #5
0
 public override void Close()
 {
     tarBuffer.Close();
 }