Parser for taking IFC file serialized in step and turning them into a lazily parsed model.

Hierarchy (View Summary)

Constructors

Properties

Instance: default = ...

An easily accessible and re-usable instance of the parser.

Note the parser itself is free of mutable state in the class, so there's no problems with just using a single one.

Accessors

Methods

  • This uses a much lighter non correctness verifying parse to extract the locations of the fields for an entry, using the v-table builder to append the top level entries.

    In this case, the cursor should represent the start of the

    Parameters

    • input: Uint8Array
    • cursor: number
    • endCursor: number
    • vtableBuilder: default

    Returns undefined | [number, number, number]

    The vtable slice or undefined if it's not defined due to an error.