Class JniIntHash

java.lang.Object
com.scurrilous.circe.checksum.JniIntHash
All Implemented Interfaces:
IntHash

public class JniIntHash extends Object implements IntHash
  • Constructor Details

    • JniIntHash

      public JniIntHash()
  • Method Details

    • calculate

      public int calculate(io.netty.buffer.ByteBuf buffer)
      Specified by:
      calculate in interface IntHash
    • resume

      public int resume(int current, io.netty.buffer.ByteBuf buffer)
      Specified by:
      resume in interface IntHash
    • calculate

      public int calculate(io.netty.buffer.ByteBuf buffer, int offset, int len)
      Specified by:
      calculate in interface IntHash
    • resume

      public int resume(int current, io.netty.buffer.ByteBuf buffer, int offset, int len)
      Specified by:
      resume in interface IntHash
    • resume

      public int resume(int current, byte[] buffer, int offset, int len)
      Specified by:
      resume in interface IntHash
    • acceptsMemoryAddressBuffer

      public boolean acceptsMemoryAddressBuffer()
      Specified by:
      acceptsMemoryAddressBuffer in interface IntHash