menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ChecksumCalculator - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ChecksumCalculator

    Checksum calculator, based on Adler32 algorithm.

    Inheritance
    System.Object
    ChecksumCalculator
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.Compression
    Assembly: Syncfusion.Compression.Base.dll
    Syntax
    public class ChecksumCalculator

    Constructors

    ChecksumCalculator()

    Declaration
    public ChecksumCalculator()

    Methods

    ChecksumGenerate(Byte[], Int32, Int32)

    Generates checksum by calculating checksum of the given buffer.

    Declaration
    public static long ChecksumGenerate(byte[] buffer, int offset, int length)
    Parameters
    Type Name Description
    System.Byte[] buffer

    Data byte array.

    System.Int32 offset

    Offset in the buffer.

    System.Int32 length

    Length of data to be used from the stream.

    Returns
    Type
    System.Int64

    ChecksumUpdate(ref Int64, Byte[], Int32, Int32)

    Updates checksum by calculating checksum of the given buffer and adding it to current value.

    Declaration
    public static void ChecksumUpdate(ref long checksum, byte[] buffer, int offset, int length)
    Parameters
    Type Name Description
    System.Int64 checksum

    Current checksum.

    System.Byte[] buffer

    Data byte array.

    System.Int32 offset

    Offset in the buffer.

    System.Int32 length

    Length of data to be used from the stream.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved