lib/utils/binary-stream.js
function BinaryStream(arrayBuffer) {
    this._arrayBuffer = arrayBuffer || new ArrayBuffer(1024);
    this._dataView = new DataView(this._arrayBuffer);
    this._pos = 0;
    this._canExpand = !arrayBuffer;
}
function BinaryStream(arrayBuffer) {
    this._arrayBuffer = arrayBuffer || new ArrayBuffer(1024);
    this._dataView = new DataView(this._arrayBuffer);
    this._pos = 0;
    this._canExpand = !arrayBuffer;
}
function BinaryStream ( arrayBuffer ) { this . _arrayBuffer = arrayBuffer || new ArrayBuffer ( 1024 ) ; this . _dataView = new DataView ( this . _arrayBuffer ) ; this . _pos = 0 ; this . _canExpand = ! arrayBuffer ; }
Stream for accessing array buffer with auto-advanced position
@param {ArrayBuffer} [arrayBuffer]
@constructor
Stream for accessing array buffer with auto - advanced position