Class Adler32

java.lang.Object
com.jcraft.jzlib.Adler32
All Implemented Interfaces:
Checksum

public final class Adler32 extends Object implements Checksum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static final int
     
    private static final int
     
    private long
     
    private long
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    (package private) static long
    combine(long adler1, long adler2, long len2)
     
     
    long
     
    void
     
    void
    reset(long init)
     
    void
    update(byte[] buf, int index, int len)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • Adler32

      public Adler32()
  • Method Details

    • reset

      public void reset(long init)
      Specified by:
      reset in interface Checksum
    • reset

      public void reset()
      Specified by:
      reset in interface Checksum
    • getValue

      public long getValue()
      Specified by:
      getValue in interface Checksum
    • update

      public void update(byte[] buf, int index, int len)
      Specified by:
      update in interface Checksum
    • copy

      public Adler32 copy()
      Specified by:
      copy in interface Checksum
    • combine

      static long combine(long adler1, long adler2, long len2)