Std memory databuffer copyto
std:std.memory.DataBuffer.CopyTo
Method CopyTo:Void( dst:DataBuffer,srcOffset:Int,dstOffset:Int,count: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. |