contents   index   previous   next



Clib.memmove()

syntax:

Clib.memmove(dstBuf, srcBuf[, maxLen])

where:

dstBuf - destination buffer to which the source buffer will be copied.

 

srcBuf - source buffer to copy to destination buffer.

 

maxLen - maximum number of characters to copy.

 

return:

buffer - the final destination buffer.

 

description:

This method copies the number of bytes specified by maxLen from srcBuf to dstBuf. If dstBuf is not already defined, then it is defined as a buffer. If the parameter maxLen is not supplied, then all of the bytes in srcBuf are copied to dstBuf.

 

ScriptEase insures protection from data overwrite, so in ScriptEase the Clib.memcpy() method is the same as Clib.memmove().

 

see:

Clib.strncpy(), Clib.memcpy()

 

 


Clib.memset()