A float 32 array that grows automatically.
A polyfill version of 'ArrayBuffer.transfer'. If native ArrayBuffer.transfer exists, will use it internally. From: https://reference.codeproject.com/javascript/reference/global_objects/arraybuffer/transfer#Browser_compatibility
A float 32 array that grows automatically.
Kind: global class
Create the array.
Param | Type | Description |
---|---|---|
startSize | Number |
Starting size. |
type | \* |
Array type (defaults to Float32Array). |
Reset the array back to original size.
Kind: instance method of DynamicArray
Push a value into the array and grow it if necessary.
Kind: instance method of DynamicArray
Param | Type | Description |
---|---|---|
value | Number |
Value to push. |
A polyfill version of ‘ArrayBuffer.transfer’. If native ArrayBuffer.transfer exists, will use it internally. From: https://reference.codeproject.com/javascript/reference/global_objects/arraybuffer/transfer#Browser_compatibility
Kind: global function