MCPcopy
hub / github.com/SnapDrop/snapdrop / _readChunk

Method _readChunk

client/scripts/network.js:442–445  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

440 }
441
442 _readChunk() {
443 const chunk = this._file.slice(this._offset, this._offset + this._chunkSize);
444 this._reader.readAsArrayBuffer(chunk);
445 }
446
447 _onChunkRead(chunk) {
448 this._offset += chunk.byteLength;

Callers 2

nextPartitionMethod · 0.95
_onChunkReadMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected