| Package | Description |
|---|---|
| net.tomp2p.synchronization |
| Modifier and Type | Method and Description |
|---|---|
static List<Checksum> |
RSync.checksums(byte[] value,
int blockSize)
It returns an array of weak and strong checksums for the value.
|
static List<Checksum> |
SyncUtils.decodeChecksums(io.netty.buffer.ByteBuf buf) |
| Modifier and Type | Method and Description |
|---|---|
static DataBuffer |
SyncUtils.encodeChecksum(List<Checksum> checksums,
Number160 versionKey,
Number160 hash,
io.netty.buffer.ByteBuf buf) |
static List<Instruction> |
RSync.instructions(byte[] array,
List<Checksum> checksums,
int blockSize)
It returns the sequence of instructions each of which contains either
reference to a block or literal data.
|
Copyright © 2015. All rights reserved.