Crc32c (Google App Engine API for Java)

com.google.appengine.api.files

Class Crc32c

  • java.lang.Object
    • com.google.appengine.api.files.Crc32c
  • All Implemented Interfaces:
    java.util.zip.Checksum

    Deprecated.

    @Deprecated
    public final class Crc32c
    extends java.lang.Object
    implements java.util.zip.Checksum
    This class generates a CRC32C checksum, defined by rfc3720 section B.4.
    • Constructor Summary

      Constructors 
      Constructor and Description
      Crc32c()
      Deprecated. 
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method and Description
      long getValue()
      Deprecated. 
      Returns the value of the checksum.
      void reset()
      Deprecated. 
      Resets the crc.
      void update(byte[] bArray, int off, int len)
      Deprecated. 
      Updates the checksum with an array of bytes.
      void update(int b)
      Deprecated. 
      Updates the checksum with a new byte.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Crc32c

        public Crc32c()
        Deprecated. 
    • Method Detail

      • update

        public void update(int b)
        Deprecated. 
        Updates the checksum with a new byte.
        Specified by:
        update in interface java.util.zip.Checksum
        Parameters:
        b - the new byte.
      • update

        public void update(byte[] bArray,
                           int off,
                           int len)
        Deprecated. 
        Updates the checksum with an array of bytes.
        Specified by:
        update in interface java.util.zip.Checksum
        Parameters:
        bArray - the array of bytes.
        off - the offset into the array where the update should begin.
        len - the length of data to examine.
      • getValue

        public long getValue()
        Deprecated. 
        Returns the value of the checksum.
        Specified by:
        getValue in interface java.util.zip.Checksum
        Returns:
        the value of the checksum.
      • reset

        public void reset()
        Deprecated. 
        Resets the crc.
        Specified by:
        reset in interface java.util.zip.Checksum