• Home
  • Guides
  • API
  • GitHub
Search Results for

    Show / Hide Table of Contents
    • Changelog
    • API
      • PleOps.XdeltaSharp
        • AddressMode
        • Adler32
        • Cache
        • CodeTable
        • FinishedHandler
        • ProgressChangedHandler
        • VcdReader
      • PleOps.XdeltaSharp.Decoder
        • Decoder
        • WindowDecoder
      • PleOps.XdeltaSharp.Vcdiff
        • Header
        • SecondaryCompressor
        • Window
        • WindowCompressedFields
        • WindowFields
      • PleOps.XdeltaSharp.Vcdiff.Instructions
        • Add
        • Copy
        • Instruction
        • InstructionType
        • Noop
        • Run

    Class Adler32

    Adler-32 checksum algorithm.

    Inheritance
    Object
    Adler32
    Namespace: PleOps.XdeltaSharp
    Assembly: PleOps.XdeltaSharp.dll
    Syntax
    public static class Adler32
    Remarks

    For more information: https://en.wikipedia.org/wiki/Adler-32.

    Methods

    | Improve this Doc View Source

    Run(Stream, Int64, UInt32)

    Computes the checksum Adler-32 from a stream.

    Declaration
    public static uint Run(Stream stream, long length, uint start = 1U)
    Parameters
    Type Name Description
    Stream stream

    The stream to read data. It starts at the current position.

    Int64 length

    The amount of bytes to read from the stream for the checksum.

    UInt32 start

    The start value of the checksum.

    Returns
    Type Description
    UInt32

    The Adler-32 checksum of the data.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright (c) 2015 Benito Palacios Sánchez