signify-ts
    Preparing search index...

    Type Alias BodyDecoder

    BodyDecoder: (body: Uint8Array) => Record<string, unknown>

    Decodes a serialized message body (the bytes between the version string and the attachments) into its field map. JSON is built in; other serializations (CBOR/MGPK) are injected via ParseOptions.

    Type Declaration

      • (body: Uint8Array): Record<string, unknown>
      • Parameters

        • body: Uint8Array

        Returns Record<string, unknown>