Package zombie.network
Class ChunkChecksum
java.lang.Object
zombie.network.ChunkChecksum
public class ChunkChecksum
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description ChunkChecksum()
-
Method Summary
Modifier and Type Method Description static long
createChecksum(java.lang.String string)
static long
getChecksum(int int1, int int2)
static long
getChecksumIfExists(int int1, int int2)
static void
Reset()
static void
setChecksum(int int1, int int2, long long1)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ChunkChecksum
public ChunkChecksum()
-
-
Method Details
-
getChecksum
public static long getChecksum(int int1, int int2) throws java.io.IOException- Throws:
java.io.IOException
-
getChecksumIfExists
public static long getChecksumIfExists(int int1, int int2) throws java.io.IOException- Throws:
java.io.IOException
-
setChecksum
public static void setChecksum(int int1, int int2, long long1) -
createChecksum
public static long createChecksum(java.lang.String string) throws java.io.IOException- Throws:
java.io.IOException
-
Reset
public static void Reset()
-