node-dextrin - v0.1.0
    Preparing search index...

    Class export=

    Opaque DXN struct value, produced when no schema is known for its name (DXN.md §1.4: "a reader lacking the schema... returns an opaque tagged value rather than failing").

    fields is one of two shapes, deliberately not normalized to a single common one — .dxn's keyed literal form carries field names; .dxnb's wire form is always positional (DXN.md §2.1) and never carries names at all. Without a schema there is no way to recover one shape from the other, so this class says which shape it actually is rather than pretend they're interchangeable — mirrors Dextrin.Struct exactly.

    Index
    • Parameters

      • name: string
      • fields:
            | { pairs: [string, unknown][]; type: "keyed" }
            | { type: "positional"; values: unknown[] }

      Returns export=

    dxnType: string
    fields:
        | { pairs: [string, unknown][]; type: "keyed" }
        | { type: "positional"; values: unknown[] }
    name: string