ComponentOne Bitmap for WPF
WriteRange(IntPtr,Int64) Method

C1.WPF.DX.4 Assembly > C1.Util.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.
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

Reference

DataStream Class
DataStream Members
Overload List