Keyoti RapidSpell Desktop .NET API Docs
Read Method (buffer, offset, count)
APIKeyoti.RapidSpell.CompressionZlibStreamRead(array<Byte>[]()[][], Int32, Int32)
Keyoti RapidSpell Desktop .NET
Read data from the stream.
Declaration Syntax
C#C#Visual BasicVisual BasicVisual 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 
Parameters
buffer (array<Byte>[]()[][])
The buffer into which the read data should be placed.
offset (Int32)
the offset within that data array to put the first byte read.
count (Int32)
the number of bytes to read.
Return Value
Remarks

If you wish to use the ZlibStream to compress data while reading, you can create a ZlibStream with CompressionMode.Compress, providing an uncompressed data stream. Then call Read() on that ZlibStream, and the data read will be compressed. If you wish to use the ZlibStream to decompress data while reading, you can create a ZlibStream with CompressionMode.Decompress, providing a readable compressed data stream. Then call Read() on that ZlibStream, and the data will be decompressed as it is read.

A ZlibStream can be used for Read() or Write(), but not both.

Assembly: Keyoti.RapidSpell.NET4 (Module: Keyoti.RapidSpell.NET4.dll) Version: 6.2.21.412