public Continue(PieceInfo piece, RepositoryViewRead read, HashAlgorithm algorithm, RepositoryMemoryBlock block) { this.piece = piece; this.read = read; this.algorithm = algorithm; this.block = block; }
public Complete(Bitfield bitfield, Bitfield scope, HashAlgorithm algorithm, RepositoryViewRead read, RepositoryMemoryBlock block) { this.bitfield = bitfield; this.scope = scope; this.algorithm = algorithm; this.read = read; this.block = block; }
public FileBufferDataBlock(RepositoryViewRead read, Action <byte[]> release) { this.read = read; this.release = release; this.offset = 0; }
private FileBufferDataBlock(RepositoryViewRead read, Action <byte[]> release, int offset) { this.read = read; this.release = release; this.offset = offset; }
public Complete(BlockIndex index, RepositoryViewRead read) { this.index = index; this.read = read; }