SDK JS
    Preparing search index...
    • Parse the fixed 24-byte LPC1 container header (pure — no wasm involved).

      Parameters

      • bytes: Uint8Array

        The full .lepcc container bytes (a subarray view is fine — offsets in the result are relative to bytes, not its backing buffer).

      Returns Lpc1Header

      The parsed Lpc1Header (counts, blob lengths, blob offsets).

      The .lepcc container is the SDK's own trivial framing over Esri's LEPCC attribute blobs, little-endian throughout: 4-byte magic "LPC1", u32 count, then u32 byte lengths for the xyz / rgb / intensity / flag-bytes blobs, followed by the four LEPCC blobs concatenated in that order. Each blob is self-describing and decodes independently via LepccDecoder.

      Error on a bad magic, a truncated header, or blob lengths that overrun the buffer.