TypeObject.prototype.readInt = function () {
    if (!this.isReadonly() || (this._readOffset + 4) > this._buffer.length) {
        return undefined;
    }
    var intValue = this._buffer.readUInt32LE(this._readOffset);