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.
114 lines (52 loc) • 1.51 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [rc-js-util](./rc-js-util.md) > [ResizableArray](./rc-js-util.resizablearray.md)
## ResizableArray class
Typed array shared between wasm and javascript, unlike [SharedArray](./rc-js-util.sharedarray.md)<!-- -->, resizing is possible.
**Signature:**
```typescript
export declare class ResizableArray<TCtor extends TTypedArrayCtor> extends SharedBufferView<TCtor> implements ISharedArray<TCtor>
```
**Extends:** [SharedBufferView](./rc-js-util.sharedbufferview.md)<!-- --><TCtor>
**Implements:** [ISharedArray](./rc-js-util.isharedarray.md)<!-- --><TCtor>
## 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.resizablearray.length.md)
</td><td>
`readonly`
</td><td>
number
</td><td>
</td></tr>
<tr><td>
[pointer](./rc-js-util.resizablearray.pointer.md)
</td><td>
`readonly`
</td><td>
number
</td><td>
</td></tr>
</tbody></table>
## Methods
<table><thead><tr><th>
Method
</th><th>
Modifiers
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
[createOne(wrapper, containerType, bindToReference, length)](./rc-js-util.resizablearray.createone.md)
</td><td>
`static`
</td><td>
</td></tr>
</tbody></table>