Read stream to a byte[] buffer.
public static System.byte[] ReadStream(
System.IO.Stream ,
ref System.int
)
'Declaration
Public Shared Function ReadStream( _
ByVal As System.IO.Stream, _
ByRef As System.Integer _
) As System.Byte()
Parameters
- stream
- Input stream.
- readLength
- Length to read.
Return Value
A byte[] buffer.