Method Read
Read(Byte[], Int32, Int32)
Reads the specifies number of bytes into buffer.
This method reads directly from the underlying stream.
Declaration
public abstract int Read(byte[] buffer, int index, int count)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Byte[] | buffer | buffer to read into |
| System.Int32 | index | starting position in the buffer |
| System.Int32 | count | number of bytes to write |
Returns
| Type | Description |
|---|---|
| System.Int32 | number of buffer read |
Read(Char[], Int32, Int32)
Reads the specifies number of bytes into buffer.
This method reads directly from the underlying stream.
Declaration
public abstract int Read(char[] buffer, int index, int count)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Char[] | buffer | buffer to read into |
| System.Int32 | index | starting position in the buffer |
| System.Int32 | count | number of bytes to write |
Returns
| Type | Description |
|---|---|
| System.Int32 | number of chars read |