UNPKG

rc-js-util

Version:

A collection of TS and C++ utilities to help writing performant and correct applications, achieved through strict typing and (removable) invariant checking.

63 lines (30 loc) 1.1 kB
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [rc-js-util](./rc-js-util.md) &gt; [ISharedArray](./rc-js-util.isharedarray.md) ## ISharedArray interface Typed array representing a contiguous block of memory in wasm. **Signature:** ```typescript export interface ISharedArray<TCtor extends TTypedArrayCtor> extends IManagedObject, IPointer, IBuffer<TCtor> ``` **Extends:** [IManagedObject](./rc-js-util.imanagedobject.md)<!-- -->, [IPointer](./rc-js-util.ipointer.md)<!-- -->, [IBuffer](./rc-js-util.ibuffer.md)<!-- -->&lt;TCtor&gt; ## Remarks 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. ## Properties <table><thead><tr><th> Property </th><th> Modifiers </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td> [length](./rc-js-util.isharedarray.length.md) </td><td> `readonly` </td><td> number </td><td> </td></tr> </tbody></table>