Package com.jcraft.jzlib
Class CRC32
- java.lang.Object
-
- com.jcraft.jzlib.CRC32
-
-
Constructor Summary
Constructors Constructor Description CRC32()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) static longcombine(long crc1, long crc2, long len2)CRC32copy()static int[]getCRC32Table()longgetValue()(package private) static voidgf2_matrix_square(long[] square, long[] mat)private static longgf2_matrix_times(long[] mat, long vec)voidreset()voidreset(long vv)voidupdate(byte[] buf, int index, int len)
-
-
-
Field Detail
-
v
private int v
-
crc_table
private static int[] crc_table
-
GF2_DIM
private static final int GF2_DIM
- See Also:
- Constant Field Values
-
-
Method Detail
-
update
public void update(byte[] buf, int index, int len)
-
combine
static long combine(long crc1, long crc2, long len2)
-
gf2_matrix_times
private static long gf2_matrix_times(long[] mat, long vec)
-
gf2_matrix_square
static final void gf2_matrix_square(long[] square, long[] mat)
-
getCRC32Table
public static int[] getCRC32Table()
-
-