(maxSize: number = 2 ** 26)
| 54 | private buffer: ArrayBuffer; |
| 55 | private i = 0; |
| 56 | constructor(maxSize: number = 2 ** 26) { |
| 57 | this.buffer = new ArrayBuffer(maxSize); |
| 58 | this.view = new DataView(this.buffer, 0); |
| 59 | } |
| 60 | write32Float(numb: number) { |
| 61 | this.view.setFloat32(this.i, numb); |
| 62 | this.i += 4; |
nothing calls this directly
no outgoing calls
no test coverage detected