Package com.scurrilous.circe.checksum
Class JniIntHash
java.lang.Object
com.scurrilous.circe.checksum.JniIntHash
- All Implemented Interfaces:
IntHash
-
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[] buffer, int offset, int len) intresume(int current, io.netty.buffer.ByteBuf buffer) intresume(int current, io.netty.buffer.ByteBuf buffer, int offset, int len)
-
Constructor Details
-
JniIntHash
public JniIntHash()
-
-
Method Details
-
calculate
public int calculate(io.netty.buffer.ByteBuf buffer) -
resume
public int resume(int current, io.netty.buffer.ByteBuf buffer) -
calculate
public int calculate(io.netty.buffer.ByteBuf buffer, int offset, int len) -
resume
public int resume(int current, io.netty.buffer.ByteBuf buffer, int offset, int len) -
resume
public int resume(int current, byte[] buffer, int offset, int len) -
acceptsMemoryAddressBuffer
public boolean acceptsMemoryAddressBuffer()- Specified by:
acceptsMemoryAddressBufferin interfaceIntHash
-