|
Reads a buffer.
.NET Syntax
int Read(Byte[] buffer, int length);
|
Java Syntax
int Read(byte[] buffer, int length);
|
PHP Syntax
int Read(string buffer, int length);
|
- Parameters:
-
| buffer | (byte[]/Byte[]/string) A buffer receiving the data. |
| length | (int) Maximum number of bytes to read |
- Returns:
- Actual number of bytes put in the buffer. 0 means end of bytes
|