WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ZipCrc32 - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ZipCrc32

    Crc32 implementation used in zip archive to verify data correctness.

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

    Constructors

    ZipCrc32()

    Declaration
    public ZipCrc32()

    Methods

    ComputeCrc(Byte[], Int32, Int32, UInt32)

    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
    System.Byte[] buffer

    Buffer to compute crc-32 for.

    System.Int32 offset

    Offset to the data start.

    System.Int32 length

    Data length in bytes.

    System.UInt32 startCrc

    Initial crc-32 value.

    Returns
    Type Description
    System.UInt32

    Updated crc-32 value.

    ComputeCrc(Stream, Int32)

    Computes crc-32 value for the stream.

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

    Stream to compute crc-32 for.

    System.Int32 length

    Data length in bytes.

    Returns
    Type Description
    System.UInt32

    Crc-32 value.

    EvaluateTable(UInt32)

    Evaluates crc table.

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

    "Magic" number.

    Returns
    Type Description
    System.UInt32[]

    Create table.

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