Writes a sequence of bytes to the current stream and advances the current
position within this stream by the number of bytes written.
Namespace:
C1.C1ZipAssembly: C1.Silverlight.Zip (in C1.Silverlight.Zip.dll)
Syntax
C# |
---|
public override void Write( byte[] buf, int offset, int count ) |
Visual Basic |
---|
Public Overrides Sub Write ( _ buf As Byte(), _ offset As Integer, _ count As Integer _ ) |
Parameters
- buf
- Type: array<System..::..Byte>[]()[][]
An array of bytes. This method copies count bytes from buf to the current stream.
- offset
- Type: System..::..Int32
The zero-based byte offset in buf at which to begin copying bytes to the current stream.
- count
- Type: System..::..Int32
The number of bytes to be written to the current stream.
Remarks
The data is compressed as it is written into the stream. Writing count bytes
into the stream will usually advance the position by a number smaller than count.