TarOutputStream.Write Method

IC Sharp Sharp Zip Lib

ICSharpCode SharpZipLib Class Library

TarOutputStream.Write Method 

Writes bytes to the current tar archive entry. This method is aware of the current entry and will throw an exception if you attempt to write bytes past the length specified for the current entry. The method is also (painfully) aware of the record buffering required by TarBuffer, and manages buffers that are not a multiple of recordsize in length, including assembling records from small buffers.

public override void Write(
   byte[] buffer,
   int offset,
   int count
);

Parameters

buffer
The buffer to write to the archive.
offset
The offset in the buffer from which to get bytes.
count
The number of bytes to write.

See Also

TarOutputStream Class | ICSharpCode.SharpZipLib.Tar Namespace