Read unsigned 32-bit integer (little-endian), advancing cursor by 4 bytes.
()
| 75 | |
| 76 | /** Read unsigned 32-bit integer (little-endian), advancing cursor by 4 bytes. */ |
| 77 | readU32(): number { |
| 78 | this.ensureAvailable(4); |
| 79 | const v = this.dv.getUint32(this.off, true); |
| 80 | this.off += 4; |
| 81 | return v; |
| 82 | } |
| 83 | |
| 84 | /** Read signed 32-bit integer (little-endian), advancing cursor by 4 bytes. */ |
| 85 | readI32(): number { |