TarOutputStream.CloseEntry Method

SharpZip Compression Library

SharpZip Compression Library

TarOutputStream.CloseEntry Method 

Close an entry. This method MUST be called for all file entries that contain data. The reason is that we must buffer data written to the stream in order to satisfy the buffer's block based writes. Thus, there may be data fragments still being assembled that must be written to the output stream before this entry is closed and the next entry written.

public void CloseEntry();

See Also

TarOutputStream Class | ICSharpCode.SharpZipLib.Tar Namespace