ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 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 System.IntPtr, _
       ByVal numberOfBytesToRead As System.Integer _
    ) As System.Integer
    System.int Read( 
       System.IntPtr buffer,
       System.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