menu

Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ZipCrc32 - Xamarin.Forms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ZipCrc32

    Crc32 implementation used in zip archive to verify data correctness.

    Inheritance
    System.Object
    ZipCrc32
    Namespace: Syncfusion.Compression.Zip
    Assembly: Syncfusion.Compression.Portable.dll
    Syntax
    public class ZipCrc32 : Object

    Constructors

    ZipCrc32()

    Declaration
    public ZipCrc32()

    Methods

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

    Computes crc-32 value for the buffer.

    Declaration
    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
    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
    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 - 2025 Syncfusion Inc. All Rights Reserved