Home > rc-js-util > ISharedArray
Typed array representing a contiguous block of memory in wasm.
Signature:
export interface ISharedArray<TCtor extends TTypedArrayCtor> extends ISharedObject
Extends: ISharedObject
NB the pointer does not necessarily point to the start of the block (e.g. it may be related to life cycle instead), this is implementation defined.
Property | Modifiers | Type | Description |
---|---|---|---|
ctor | TCtor | ||
elementByteSize | number | Size of element in the array, length * elementByteSize is not necessarily the size of the object. | |
length | number |
Method | Description |
---|---|
getInstance() |