(sharedBuffer)
| 57 | */ |
| 58 | class RingBufferWriter { |
| 59 | constructor(sharedBuffer) { |
| 60 | this.buffer = sharedBuffer; |
| 61 | this.int32 = new Int32Array(sharedBuffer); |
| 62 | this.uint8 = new Uint8Array(sharedBuffer); |
| 63 | this.dataView = new DataView(sharedBuffer); |
| 64 | } |
| 65 | |
| 66 | /** |
| 67 | * Get available space in the ring buffer |
nothing calls this directly
no outgoing calls
no test coverage detected