fast-dataview
v0.3.3
Published
A fast DataView implementation in javascript, and could works with Node.js Buffers.
Downloads
9
Readme
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.