Package com.scurrilous.circe.checksum
Class Java9IntHash
java.lang.Object
com.scurrilous.circe.checksum.Java9IntHash
- All Implemented Interfaces:
IntHash
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanintcalculate(io.netty.buffer.ByteBuf buffer) intcalculate(io.netty.buffer.ByteBuf buffer, int offset, int len) intresume(int current, byte[] array, int offset, int length) intresume(int current, io.netty.buffer.ByteBuf buffer) intresume(int current, io.netty.buffer.ByteBuf buffer, int offset, int len)
-
Field Details
-
HAS_JAVA9_CRC32C
static final boolean HAS_JAVA9_CRC32C
-
-
Constructor Details
-
Java9IntHash
public Java9IntHash()
-
-
Method Details
-
calculate
public int calculate(io.netty.buffer.ByteBuf buffer) -
calculate
public int calculate(io.netty.buffer.ByteBuf buffer, int offset, int len) -
resume
public int resume(int current, byte[] array, int offset, int length) -
acceptsMemoryAddressBuffer
public boolean acceptsMemoryAddressBuffer()- Specified by:
acceptsMemoryAddressBufferin interfaceIntHash
-
resume
public int resume(int current, io.netty.buffer.ByteBuf buffer) -
resume
public int resume(int current, io.netty.buffer.ByteBuf buffer, int offset, int len)
-