fast-dataview
fast-dataview copied to clipboard
A fast DataView implementation in javascript
FastDataView.js
A fast DataView implementation in javascript, and could works with Node.js Buffers.
Why FastDataView is fast
It accesses the buffer with byte directly.
Example
// buffer is an instance of ArrayBuffer or NodeJS Buffer.
var dataview = new FastDataView(buffer);
Then user could use dataview as same as normal DataView object.
Known Issue
- It doesn't check the length of buffer in the data getter/setter.