alexa
menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class ZipCrc32

    Crc32 implementation used in zip archive to verify data correctness.

    Inheritance
    object
    ZipCrc32
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Compression.Zip
    Assembly: Syncfusion.Compression.NET.dll
    Syntax
    public class ZipCrc32

    Constructors

    ZipCrc32()

    Declaration
    public ZipCrc32()

    Methods

    ComputeCrc(byte[], int, int, uint)

    Computes crc-32 value for the buffer.

    Declaration
    [CLSCompliant(false)]
    public static uint ComputeCrc(byte[] buffer, int offset, int length, uint startCrc)
    Parameters
    Type Name Description
    byte[] buffer

    Buffer to compute crc-32 for.

    int offset

    Offset to the data start.

    int length

    Data length in bytes.

    uint startCrc

    Initial crc-32 value.

    Returns
    Type Description
    uint

    Updated crc-32 value.

    ComputeCrc(Stream, int)

    Computes crc-32 value for the stream.

    Declaration
    [CLSCompliant(false)]
    public static uint ComputeCrc(Stream stream, int length)
    Parameters
    Type Name Description
    Stream stream

    Stream to compute crc-32 for.

    int length

    Data length in bytes.

    Returns
    Type Description
    uint

    Crc-32 value.

    EvaluateTable(uint)

    Evaluates crc table.

    Declaration
    [CLSCompliant(false)]
    public static uint[] EvaluateTable(uint crcNumber)
    Parameters
    Type Name Description
    uint crcNumber

    "Magic" number.

    Returns
    Type Description
    uint[]

    Create table.

    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved