* Read UInt32 value from the model buffer * @this {!Model} * @param {!number} offset Offset * @returns {!number} UInt32 value
(offset)
| 493 | * @returns {!number} UInt32 value |
| 494 | */ |
| 495 | readUInt32 (offset) { |
| 496 | offset = offset >>> 0 |
| 497 | offset += this._buffer.offset |
| 498 | this._buffer.checkOffset(offset, 4) |
| 499 | return ( |
| 500 | (this._buffer.buffer[offset + 0] << 0) | |
| 501 | (this._buffer.buffer[offset + 1] << 8) | |
| 502 | (this._buffer.buffer[offset + 2] << 16)) + |
| 503 | (this._buffer.buffer[offset + 3] * 0x1000000) |
| 504 | } |
| 505 | |
| 506 | /** |
| 507 | * Write UInt32 value into the model buffer |
no test coverage detected