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.
51 lines (25 loc) • 1.03 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [rc-js-util](./rc-js-util.md) > [INormalizedDataView](./rc-js-util.inormalizeddataview.md)
## INormalizedDataView interface
Provides a way to set a value on a `DataView` without needing to know the types at the point of setting. Use [NormalizedDataViewProvider](./rc-js-util.normalizeddataviewprovider.md) to get an instance.
**Signature:**
```typescript
export interface INormalizedDataView
```
## Remarks
Does not perform any sort of bounds checking, overflow is entirely the consumers concern.
## Methods
<table><thead><tr><th>
Method
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
[getValue(dataView, ptr, littleEndian)](./rc-js-util.inormalizeddataview.getvalue.md)
</td><td>
</td></tr>
<tr><td>
[setValue(dataView, ptr, value, littleEndian)](./rc-js-util.inormalizeddataview.setvalue.md)
</td><td>
</td></tr>
</tbody></table>