(meta, callback)
| 477 | class FileDigester { |
| 478 | |
| 479 | constructor(meta, callback) { |
| 480 | this._buffer = []; |
| 481 | this._bytesReceived = 0; |
| 482 | this._size = meta.size; |
| 483 | this._mime = meta.mime || 'application/octet-stream'; |
| 484 | this._name = meta.name; |
| 485 | this._callback = callback; |
| 486 | } |
| 487 | |
| 488 | unchunk(chunk) { |
| 489 | this._buffer.push(chunk); |
nothing calls this directly
no outgoing calls
no test coverage detected