(str, offset)
| 130 | } |
| 131 | |
| 132 | function sread64(str, offset) { |
| 133 | const low = str.charCodeAt(offset) | (str.charCodeAt(offset + 1) << 8) | (str.charCodeAt(offset + 2) << 16) | (str.charCodeAt(offset + 3) << 24); |
| 134 | const high = str.charCodeAt(offset + 4) | (str.charCodeAt(offset + 5) << 8) | (str.charCodeAt(offset + 6) << 16) | (str.charCodeAt(offset + 7) << 24); |
| 135 | return new Int(low, high); |
| 136 | } |
| 137 | |
| 138 | function prepare_uaf() { |
| 139 | const fsets = []; |