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.
146 lines (65 loc) • 2.07 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [rc-js-util](./rc-js-util.md) > [SharedTypedArrayTuple](./rc-js-util.sharedtypedarraytuple.md)
## SharedTypedArrayTuple class
Wrapper of block of memory that is the same size as `TArray`<!-- -->. Provides utility functions with stronger typing than [ISharedMemoryBlock](./rc-js-util.isharedmemoryblock.md)<!-- -->.
**Signature:**
```typescript
export declare class SharedTypedArrayTuple<TArray extends (ATypedArrayTuple<number, TTypedArray> & ITypedArrayExtensions)> implements ISharedTypedArrayTuple<TArray>
```
**Implements:** [ISharedTypedArrayTuple](./rc-js-util.isharedtypedarraytuple.md)<!-- --><TArray>
## Properties
<table><thead><tr><th>
Property
</th><th>
Modifiers
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
[memory](./rc-js-util.sharedtypedarraytuple.memory.md)
</td><td>
`readonly`
</td><td>
[ISharedMemoryBlock](./rc-js-util.isharedmemoryblock.md)
</td><td>
</td></tr>
<tr><td>
[resourceHandle](./rc-js-util.sharedtypedarraytuple.resourcehandle.md)
</td><td>
</td><td>
[IManagedResourceNode](./rc-js-util.imanagedresourcenode.md)
</td><td>
</td></tr>
</tbody></table>
## Methods
<table><thead><tr><th>
Method
</th><th>
Modifiers
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
[copyFromBuffer(writeTo)](./rc-js-util.sharedtypedarraytuple.copyfrombuffer.md)
</td><td>
</td><td>
</td></tr>
<tr><td>
[copyToBuffer(readFrom)](./rc-js-util.sharedtypedarraytuple.copytobuffer.md)
</td><td>
</td><td>
</td></tr>
<tr><td>
[createOne(typedArrayCtor, bindToReference, wrapper)](./rc-js-util.sharedtypedarraytuple.createone.md)
</td><td>
`static`
</td><td>
</td></tr>
<tr><td>
[getWrapper()](./rc-js-util.sharedtypedarraytuple.getwrapper.md)
</td><td>
</td><td>
</td></tr>
</tbody></table>