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. |
buffer | buffer to read into |
System. |
index | starting position in the buffer |
System. |
count | number of bytes to write |
Returns
Type | Description |
---|---|
System. |
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. |
buffer | buffer to read into |
System. |
index | starting position in the buffer |
System. |
count | number of bytes to write |
Returns
Type | Description |
---|---|
System. |
number of chars read |