createByteArray
Creates an empty byte array of a specified size.
Syntax
ogscript.createByteArray (length);
Parameters
Parameter |
Type |
Required |
Description |
length |
Integer |
Yes |
The size of the new array, in bytes. |
Returns
An empty byte array.
Example
var myNewByteArray = ogscript.createByteArray (12);