ReadBlock
Reads a block of bytes from the stream.
Public Function ReadBlock(
ByRef Buffer ( ) As Byte,
ByVal Offset As Long,
ByVal Count As Long ) As Long
Parameters
- Buffer
-
[ByRef]
Byte.
The array to read the bytes into.
- Offset
-
[ByVal]
Long.
The starting index in Buffer to begin reading to.
- Count
-
[ByVal]
Long.
The number of bytes to read from the stream.
Return Values
Long - The number of bytes actually read from the stream.
Remarks
The .NET version of this will block the thread until the requested
number of bytes are actually read. This is not supported in this version.
See Also
Project CorLib Overview
Class Stream Overview