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

    Variable decodeBinary

    decodeBinary: (
        bytes: Uint8Array<ArrayBufferLike>,
        opts?: { registry?: export=; strict?: boolean; trusted?: boolean },
    ) => unknown

    Type Declaration

      • (
            bytes: Uint8Array<ArrayBufferLike>,
            opts?: { registry?: export=; strict?: boolean; trusted?: boolean },
        ): unknown
      • Decodes a .dxnb binary into a value. Same trusted:/registry: opts as decode, same effect. Throws DXNError on malformed input, including a missing/invalid envelope (DX magic + version byte) or a schema violation.

        Parameters

        • bytes: Uint8Array<ArrayBufferLike>
        • Optionalopts: { registry?: export=; strict?: boolean; trusted?: boolean } = {}

        Returns unknown