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.

104 lines (47 loc) 1.29 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; [SharedBufferView](./rc-js-util.sharedbufferview.md) &gt; [(constructor)](./rc-js-util.sharedbufferview._constructor_.md) ## SharedBufferView.(constructor) Constructs a new instance of the `SharedBufferView` class **Signature:** ```typescript constructor(wrapper: IEmscriptenWrapper<IInteropBindings>, owner: IManagedResourceNode | null, ctor: TCtor, pointerToData: number, byteSize: number); ``` ## Parameters <table><thead><tr><th> Parameter </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td> wrapper </td><td> [IEmscriptenWrapper](./rc-js-util.iemscriptenwrapper.md)<!-- -->&lt;[IInteropBindings](./rc-js-util.iinteropbindings.md)<!-- -->&gt; </td><td> </td></tr> <tr><td> owner </td><td> [IManagedResourceNode](./rc-js-util.imanagedresourcenode.md) \| null </td><td> </td></tr> <tr><td> ctor </td><td> TCtor </td><td> </td></tr> <tr><td> pointerToData </td><td> number </td><td> </td></tr> <tr><td> byteSize </td><td> number </td><td> </td></tr> </tbody></table>