Reads data from the underlying stream, decompressing them during the process.

Namespace:  Rebex.IO.Compression.Streams
Assembly:  Rebex.Zip (in Rebex.Zip.dll)

Syntax

Visual Basic
Public Overrides Function Read ( _
	buffer As Byte(), _
	offset As Integer, _
	count As Integer _
) As Integer
C#
public override int Read(
	byte[] buffer,
	int offset,
	int count
)

Parameters

buffer
Type: array<System..::..Byte>[]()[][]
An array of bytes to fill with decompressed data.
offset
Type: System..::..Int32
The zero-based byte offset in the buffer at which to copy bytes read from the current stream.
count
Type: System..::..Int32
The maximum number of bytes to be read into the buffer.

Return Value

The total number of bytes read into the buffer. This can be less than the number of bytes requested if that many bytes are not currently available, or zero (0) if the end of the stream has been reached.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also