ArrayBufferDataStream = function(length) {
        this.data = new Uint8Array(length);
        this.pos = 0;
    }
A tool for presenting an ArrayBuffer as a stream for writing some simple data types.

By Nicholas Sherlock

Released under the WTFPLv2 https://en.wikipedia.org/wiki/WTFPL