Package io.minio

Class Checksum.CRC32

java.lang.Object
io.minio.Checksum.CRC32
All Implemented Interfaces:
Checksum.Hasher
Enclosing class:
Checksum

public static class Checksum.CRC32 extends Object implements Checksum.Hasher
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Resets the hasher for further use.
    byte[]
    sum()
    Completes the hash computation by performing final operations such as padding.
     
    void
    update(byte[] b, int off, int len)
    Updates len bytes from the specified byte array starting at offset off to this hasher.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • CRC32

      public CRC32()
  • Method Details

    • update

      public void update(byte[] b, int off, int len)
      Description copied from interface: Checksum.Hasher
      Updates len bytes from the specified byte array starting at offset off to this hasher.
      Specified by:
      update in interface Checksum.Hasher
    • sum

      public byte[] sum()
      Description copied from interface: Checksum.Hasher
      Completes the hash computation by performing final operations such as padding.
      Specified by:
      sum in interface Checksum.Hasher
    • reset

      public void reset()
      Description copied from interface: Checksum.Hasher
      Resets the hasher for further use.
      Specified by:
      reset in interface Checksum.Hasher
    • toString

      public String toString()
      Overrides:
      toString in class Object