()
| 148 | } |
| 149 | |
| 150 | private initViews() { |
| 151 | this.u32 = new Uint32Array(this.buffer); |
| 152 | this.f64 = new Float64Array(this.buffer); |
| 153 | this.u8 = new Uint8Array(this.buffer); |
| 154 | } |
| 155 | |
| 156 | private initializeBuffer(obj: T) { |
| 157 | Atomics.store(this.u32, OFFSET_FREE_PTR >> 2, HEADER_SIZE); |