TarOutputStream.PutNextEntry Method

IC Sharp Sharp Zip Lib

ICSharpCode SharpZipLib Class Library

TarOutputStream.PutNextEntry Method 

Put an entry on the output stream. This writes the entry's header and positions the output stream for writing the contents of the entry. Once this method is called, the stream is ready for calls to write() to write the entry's contents. Once the contents are written, closeEntry() MUST be called to ensure that all buffered data is completely written to the output stream.

public void PutNextEntry(
   TarEntry entry
);

Parameters

entry
The TarEntry to be written to the archive.

See Also

TarOutputStream Class | ICSharpCode.SharpZipLib.Tar Namespace