Document Solutions for PDF
GrapeCity.Documents.DX.Windows Assembly / GrapeCity.Documents.DX Namespace / DataStream Class / WriteRange Method / WriteRange(IntPtr,Int64) Method
A pointer to the location to start copying from.
The number of bytes to copy from source to the current stream.

In This Topic
    WriteRange(IntPtr,Int64) Method
    In This Topic
    Writes a range of bytes to the current stream, and advances the current position within this stream by the number of bytes written.
    Syntax
    'Declaration
     
    Public Overloads Sub WriteRange( _
       ByVal source As System.IntPtr, _
       ByVal count As System.Long _
    ) 
    public void WriteRange( 
       System.IntPtr source,
       System.long count
    )

    Parameters

    source
    A pointer to the location to start copying from.
    count
    The number of bytes to copy from source to the current stream.
    Exceptions
    ExceptionDescription
    This stream does not support writing.
    Remarks
    In order to provide faster read/write, this operation doesn't check stream bound. A client must carefully not read/write above the size of this datastream.
    See Also