(buffer: ArrayBuffer, front?: boolean)
| 4 | constructor(public buffers: ArrayBuffer[] = []) {} |
| 5 | |
| 6 | public add(buffer: ArrayBuffer, front?: boolean) { |
| 7 | this.buffers[front ? 'unshift' : 'push'](buffer) |
| 8 | return this |
| 9 | } |
| 10 | |
| 11 | public addInt16(val: number, front?: boolean) { |
| 12 | return this.add(new Uint8Array([val >>> 8, val >>> 0]).buffer, front) |
no outgoing calls
no test coverage detected