• Decode CBOR-LD bytes intoto JSON-LD document

    Parameters

    • byteArray: Uint8Array

      The cborld bytes

    • documentLoader: DocumentLoader

      The document loader to resolve contexts

    Returns ResultAsync<unknown, InvalidCborldDecodeError>

    A ResultAsync containing the decoded object on ok or a InvalidCborldDecodeError on error

Generated using TypeDoc