ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 Assembly / C1.Util.DX.Storage Namespace / IStreamBase Interface / Read Method
The read buffer.
The number of bytes to read.

In This Topic
    Read Method (IStreamBase)
    In This Topic
    Reads a specified number of bytes from the stream object into memory starting at the current seek pointer.
    Syntax
    'Declaration
     
    Function Read( _
       ByVal buffer As IntPtr, _
       ByVal numberOfBytesToRead As Integer _
    ) As Integer
    int Read( 
       IntPtr buffer,
       int numberOfBytesToRead
    )

    Parameters

    buffer
    The read buffer.
    numberOfBytesToRead
    The number of bytes to read.

    Return Value

    The actual number of bytes read from the stream object.
    See Also