TypeObject.prototype.readDouble = function () {
    if (!this.isReadonly() || (this._readOffset + 8) > this._buffer.length) {
        return undefined;
    }
    var doubleValue = this._buffer.readDoubleLE(this._readOffset);