std.memory.DataBuffer.CopyTo - nitrologic/monkey2 GitHub Wiki
std::std.memory.std.memory.DataBuffer.CopyTo
Method CopyTo:Void( dst:std:std.memory.DataBuffer,srcOffset:monkey:monkey.types.Int,dstOffset:monkey:monkey.types.Int,count:monkey:monkey.types.Int )
Copies databuffer data to another databuffer.
In debug builds, a runtime error while occur if an attempt it made to copy data outside the range of either databuffer.
| Parameters | |
|---|---|
dst |
dst The destination databuffer. |
srcOffset |
srcOffset The starting byte offset in this databuffer to copy from. |
dstOffset |
dstOffset The starting byte offest in the destination databuffer to copy to. |
count |
count The number of bytes to copy. |