Package com.scurrilous.circe.checksum
Class Java8IntHash
- java.lang.Object
-
- com.scurrilous.circe.checksum.Java8IntHash
-
-
Constructor Summary
Constructors Constructor Description Java8IntHash()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
acceptsMemoryAddressBuffer()
int
calculate(io.netty.buffer.ByteBuf buffer)
int
calculate(io.netty.buffer.ByteBuf buffer, int offset, int len)
int
resume(int current, byte[] buffer, int offset, int len)
int
resume(int current, io.netty.buffer.ByteBuf buffer)
int
resume(int current, io.netty.buffer.ByteBuf buffer, int offset, int len)
-
-
-
Method Detail
-
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:
acceptsMemoryAddressBuffer
in interfaceIntHash
-
-