Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

CompressionStream.Read Method

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

Read(Byte[], Int32, Int32)

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

Declaration
public override int Read(byte[] buffer, int offset, int count)
Parameters
Type Name Description
Byte[] buffer

An array of bytes to fill with compressed data.

Int32 offset

The zero-based byte offset in the buffer at which to copy bytes read from the stream.

Int32 count

The maximum number of bytes to be read into the buffer.

Returns
Type Description
Int32

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.

Overrides
Stream.Read(Byte[], Int32, Int32)
In This Article
  • Read(Byte[], Int32, Int32)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies