@haxall/haxall
    Preparing search index...

    Function crc32

    • Computes a 32-bit Cyclic Redundancy Check checksum of data. If value is specified, it is used as the starting value of the checksum, otherwise, 0 is used as the starting value.

      Parameters

      • data: string | Buffer<ArrayBufferLike> | ArrayBufferView<ArrayBufferLike>

        When data is a string, it will be encoded as UTF-8 before being used for computation.

      • Optionalvalue: number

        An optional starting value. It must be a 32-bit unsigned integer.

      Returns number

      A 32-bit unsigned integer containing the checksum.

      0
      

      v22.2.0