ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX Namespace / DXUtil Class / ReadStream Method
Input stream.
Length to read.

In This Topic
    ReadStream Method
    In This Topic
    Read stream to a byte[] buffer.
    Syntax
    'Declaration
     
    Public Shared Function ReadStream( _
       ByVal stream As System.IO.Stream, _
       ByRef readLength As System.Integer _
    ) As System.Byte()
    public static System.byte[] ReadStream( 
       System.IO.Stream stream,
       ref System.int readLength
    )

    Parameters

    stream
    Input stream.
    readLength
    Length to read.

    Return Value

    A byte[] buffer.
    See Also