| java.lang.Object uk.org.ponder.hashutil.CRC32
CRC32 | public class CRC32 implements Hasher(Code) | | This class implements the CRC32 algorithm, used to compute integer hash values from
a byte stream. Felix thinks it doesn't work correctly due to its use of non-logical
right shifts in several of the eat methods.
|
Constructor Summary | |
public | CRC32() |
P | final public static int P(Code) | | |
bytetable | public static int[] bytetable(Code) | | |
init | final public static int init(Code) | | |
checkbyte | public static int checkbyte(int v)(Code) | | |
eat | public int eat(char[] buffer, int start, int length)(Code) | | |
eatquick | public static int eatquick(char[] buffer, int start, int length)(Code) | | |
eatquick | public static int eatquick(byte[] buffer, int start, int length)(Code) | | |
reset | public void reset()(Code) | | |
|
|