(type, buf)
| 482 | } |
| 483 | |
| 484 | parseMain (type, buf) { |
| 485 | if (buf.length < 16) |
| 486 | throw new Error('main OOB'); |
| 487 | |
| 488 | return { |
| 489 | type: type, |
| 490 | entryoff: this.readUInt64(buf, 0), |
| 491 | stacksize: this.readUInt64(buf, 8) |
| 492 | }; |
| 493 | } |
| 494 | |
| 495 | } |
no test coverage detected