()
| 149 | } |
| 150 | |
| 151 | readBinary(): Uint8Array { |
| 152 | const length = this.readI32() |
| 153 | const bytes = new Uint8Array(this.view.buffer, this.pos, length) |
| 154 | this.pos += length |
| 155 | return bytes |
| 156 | } |
| 157 | |
| 158 | readListBegin(): { elementType: number; size: number } { |
| 159 | const elementType = this.view.getUint8(this.pos++) |