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

    Function weave2D

    • Interweave two 16-bit numbers into a 32-bit number. In theory two small numbers can end up varint encoded to use less space.

      Parameters

      • a: number

        the first number

      • b: number

        the second number

      Returns number

      • the interwoven number