ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 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 Stream, _
       ByRef readLength As Integer _
    ) As Byte()
    public static byte[] ReadStream( 
       Stream stream,
       ref int readLength
    )

    Parameters

    stream
    Input stream.
    readLength
    Length to read.

    Return Value

    A byte[] buffer.
    See Also