Uint8ArrayWriter = function(length) {
    this.data = new Uint8Array(length);
    this.index = 0;
}
An object to write any content to an Uint8Array.
@constructor
@param {number} length The length of the array.