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.

90 lines (42 loc) 1.44 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; [ISharedTypedArrayTuple](./rc-js-util.isharedtypedarraytuple.md) ## ISharedTypedArrayTuple interface 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 interface ISharedTypedArrayTuple<TArray extends (ATypedArrayTuple<number, TTypedArray> & ITypedArrayExtensions)> extends IManagedObject ``` **Extends:** [IManagedObject](./rc-js-util.imanagedobject.md) ## 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.isharedtypedarraytuple.memory.md) </td><td> </td><td> [ISharedMemoryBlock](./rc-js-util.isharedmemoryblock.md) </td><td> </td></tr> </tbody></table> ## Methods <table><thead><tr><th> Method </th><th> Description </th></tr></thead> <tbody><tr><td> [copyFromBuffer(writeTo)](./rc-js-util.isharedtypedarraytuple.copyfrombuffer.md) </td><td> </td></tr> <tr><td> [copyToBuffer(readFrom)](./rc-js-util.isharedtypedarraytuple.copytobuffer.md) </td><td> </td></tr> </tbody></table>