| Modifier and Type | Method and Description |
|---|---|
static ArrayList<Checksum> |
Synchronization.decodeChecksumList(byte[] bytes) |
static ArrayList<Checksum> |
Synchronization.getChecksums(byte[] value,
int blockSize)
It returns an array of weak and strong checksums for the value.
|
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
Synchronization.encodeChecksumList(ArrayList<Checksum> checksums) |
static ArrayList<Instruction> |
Synchronization.getInstructions(ArrayList<Instruction> result,
int diff,
int offset,
int a,
int b,
byte[] newValue,
ArrayList<Checksum> checksums,
int blockSize) |
static ArrayList<Instruction> |
Synchronization.getInstructions(byte[] newValue,
ArrayList<Checksum> checksums,
int blockSize)
It returns the sequence of instructions each of which contains either reference to a block or literal data.
|
Copyright © 2014. All rights reserved.