C# | C# | Visual Basic | Visual Basic | Visual C++ | Visual C++ | F# | F# |
public override int Read( byte[] buffer, int offset, int count )
public override int Read( byte[] buffer, int offset, int count )
Public Overrides Function Read ( buffer As Byte(), offset As Integer, count As Integer ) As Integer
Public Overrides Function Read ( buffer As Byte(), offset As Integer, count As Integer ) As Integer
public: virtual int Read( array<unsigned char>^ buffer, int offset, int count ) override
public: virtual int Read( array<unsigned char>^ buffer, int offset, int count ) override
abstract Read : buffer : byte[] * offset : int * count : int -> int override Read : buffer : byte[] * offset : int * count : int -> int
abstract Read : buffer : byte[] * offset : int * count : int -> int override Read : buffer : byte[] * offset : int * count : int -> int
the number of bytes actually read
If you wish to use the DeflateStream to compress data while reading, you can create a DeflateStream with CompressionMode.Compress, providing an uncompressed data stream. Then call Read() on that DeflateStream, and the data read will be compressed as you read. If you wish to use the DeflateStream to decompress data while reading, you can create a DeflateStream with CompressionMode.Decompress, providing a readable compressed data stream. Then call Read() on that DeflateStream, and the data read will be decompressed as you read.
A DeflateStream can be used for Read() or Write(), but not both.
Assembly: Keyoti.RapidSpell.NET4 (Module: Keyoti.RapidSpell.NET4.dll) Version: 6.2.21.412