| Package | Description |
|---|---|
| net.tomp2p.synchronization |
| Modifier and Type | Method and Description |
|---|---|
RSync.RollingChecksum |
RSync.RollingChecksum.reset()
Resets the checksum to its initial state 1.
|
RSync.RollingChecksum |
RSync.RollingChecksum.update(byte[] array,
int offset,
int length)
Iterates over the array and calculates a variation of Adler.
|
RSync.RollingChecksum |
RSync.RollingChecksum.updateRolling(byte[] array)
Slide the window of the array by 1.
|
RSync.RollingChecksum |
RSync.RollingChecksum.value(int checksum)
Sets the checksum to this value.
|
Copyright © 2014. All rights reserved.