SupportClassReadInput Method (TextReader, Byte, Int32, Int32)MediaSuite 3.1.1889.0
Reads a number of characters from the current source TextReader and writes the data to the target array at the specified index.

Namespace: StreamCoders.Container.Compression.Libs.zlib
Assembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntax

public static int ReadInput(
	TextReader sourceTextReader,
	byte[] target,
	int start,
	int count
)

Parameters

sourceTextReader
Type: System.IOTextReader
The source TextReader to read from
target
Type: SystemByte
Contains the array of characteres read from the source TextReader.
start
Type: SystemInt32
The starting index of the target array.
count
Type: SystemInt32
The maximum number of characters to read from the source TextReader.

Return Value

Type: Int32
The number of characters read. The number will be less than or equal to count depending on the data available in the source TextReader. Returns -1 if the end of the stream is reached.
See Also

Reference