IT. Expert System.

Android Reference

Adler32


java.util.zip

Class Adler32

  • All Implemented Interfaces:
    Checksum


    public class Adler32
    extends Object
    implements Checksum
    The Adler-32 class is used to compute the Adler32 checksum from a set of data. Compared to CRC32 it trades reliability for speed. Refer to RFC 1950 for the specification.
    • Constructor Summary

      Constructors
      Constructor and Description
      Adler32()
    • Method Summary

      Methods
      Modifier and Type Method and Description
      long getValue()
      Returns the Adler32 checksum for all input received.
      void reset()
      Reset this instance to its initial checksum.
      void update(byte[] buf)
      Update this Adler32 checksum using the contents of buf.
      void update(byte[] buf, int offset, int byteCount)
      Update this Adler32 checksum with the contents of buf, starting from offset and reading byteCount bytes of data.
      void update(int i)
      Update this Adler32 checksum with the single byte provided as argument.
    • Constructor Detail

      • Adler32

        public Adler32()
    • Method Detail

      • getValue

        public long getValue()
        Returns the Adler32 checksum for all input received.
        Specified by:
        getValue in interface Checksum
        Returns:
        The checksum for this instance.
      • reset

        public void reset()
        Reset this instance to its initial checksum.
        Specified by:
        reset in interface Checksum
      • update

        public void update(int i)
        Update this Adler32 checksum with the single byte provided as argument.
        Specified by:
        update in interface Checksum
        Parameters:
        i - the byte to update checksum with.
      • update

        public void update(byte[] buf)
        Update this Adler32 checksum using the contents of buf.
        Parameters:
        buf - bytes to update checksum with.
      • update

        public void update(byte[] buf,
                  int offset,
                  int byteCount)
        Update this Adler32 checksum with the contents of buf, starting from offset and reading byteCount bytes of data.
        Specified by:
        update in interface Checksum
        Parameters:
        buf - the byte array from which to read the bytes.
        offset - the initial position in buf to read the bytes from.
        byteCount - the number of bytes to read from buf.


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 414 / 158764078. Delta: 0.08164 с