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

Method nextPartition

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

Source from the content-addressed store, hash-verified

435 }
436
437 nextPartition() {
438 this._partitionSize = 0;
439 this._readChunk();
440 }
441
442 _readChunk() {
443 const chunk = this._file.slice(this._offset, this._offset + this._chunkSize);

Callers 2

_sendFileMethod · 0.80
_sendNextPartitionMethod · 0.80

Calls 1

_readChunkMethod · 0.95

Tested by

no test coverage detected