wasm-spatial-core
    Preparing search index...

    Function parseWkb

    • Parse Well-Known Binary (WKB) data into a flat Float64Array.

      Supports 2D POINT, LINESTRING, POLYGON, MULTIPOINT. Byte order is auto-detected (little-endian or big-endian).

      Arguments

      • bytes: Uint8Array containing WKB data.

      Example

      const coords = parseWkb(new Uint8Array(wkbBuffer));
      

      Parameters

      • bytes: Uint8Array

      Returns Float64Array