Read signed 32-bit integer (little-endian), advancing cursor by 4 bytes.
()
| 83 | |
| 84 | /** Read signed 32-bit integer (little-endian), advancing cursor by 4 bytes. */ |
| 85 | readI32(): number { |
| 86 | this.ensureAvailable(4); |
| 87 | const v = this.dv.getInt32(this.off, true); |
| 88 | this.off += 4; |
| 89 | return v; |
| 90 | } |
| 91 | |
| 92 | /** |
| 93 | * Read len bytes as a subarray view, advancing cursor by len bytes. |