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.

[Visual Basic]
Overrides Public Sub Write( _
   ByVal wBuf As Byte(), _
   ByVal wOffset As Integer, _
   ByVal numToWrite As Integer _
)
[C#]
public override void Write(
   byte[] wBuf,
   int wOffset,
   int numToWrite
);

Parameters

wBuf

The buffer to write to the archive.

wOffset

The offset in the buffer from which to get bytes.

numToWrite

The number of bytes to write.

See Also

TarOutputStream Class | TarOutputStream Members | ICSharpCode.SharpZipLib.Tar Namespace