Class: Buffer
Lua
C++
Edit

Buffer:Copy

This method copies the contents of this buffer to another one.

Syntax

Parameter Description
srcoffset offset for the source buffer data, in bytes
dst destination buffer
dstoffset offset for the destination buffer data, in bytes
size number of bytes to copy

Remarks

A runtime error will occur if the source or destination range lies outside of the buffer extents.

Copyright © 2024 Ultra Software.
All rights reserved.