NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Buffer.BlockCopy

Copies the bytes from one object to another.

[Visual Basic]
Public Shared Sub BlockCopy( _
   ByVal src As Array, _
   ByVal srcOffset As Integer, _
   ByVal dst As Array, _
   ByVal dstOffset As Integer, _
   ByVal count As Integer _
)
[C#]
public static void BlockCopy(
   Array src,
   int srcOffset,
   Array dst,
   int dstOffset,
   int count
);
[C++]
public: static void BlockCopy(
   Array* src,
   int srcOffset,
   Array* dst,
   int dstOffset,
   int count
);
[JScript]
public static function BlockCopy(
   src : Array,
   srcOffset : int,
   dst : Array,
   dstOffset : int,
   count : int
);

Parameters

src
The source buffer.
srcOffset
The byte offset in src where to begin reading.
dst
The destination buffer.
dstOffset
The byte offset in dst where to begin writing.
count
The number of bytes to be copied.

Remarks

The bytes in src beginning at the byte offset given by srcOffset are copied to dst beginning at the byte offset given by dstOffset.

See Also

Buffer Class | Buffer Members | System Namespace