open-vector-tile - v1.8.0
    Preparing search index...

    Function deltaEncodeSortedArray

    • Encode a sorted array using delta encoding (doesn't require zigzag)

      Parameters

      • array: number[]

        the array

      Returns number[]

      • the encoded array