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.
82 lines (38 loc) • 915 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [rc-js-util](./rc-js-util.md) > [Mat4](./rc-js-util.mat4.md) > [copyToBuffer](./rc-js-util.mat4.copytobuffer.md)
## Mat4.copyToBuffer() method
If endianness is not supplied the platform's endianness will be used.
**Signature:**
```typescript
copyToBuffer(_memoryDataView: DataView, _pointer: number, _littleEndian?: boolean): void;
```
## Parameters
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
\_memoryDataView
</td><td>
DataView
</td><td>
</td></tr>
<tr><td>
\_pointer
</td><td>
number
</td><td>
</td></tr>
<tr><td>
\_littleEndian
</td><td>
boolean
</td><td>
_(Optional)_
</td></tr>
</tbody></table>
**Returns:**
void