Function saveEncoded

  • Save the original encoding of the given object on the oject as a property with a Symbol name, so it can be later extracted for round-tripping or crypto.

    Parameters

    • obj: OriginalEncoding

      Object to tag.

    • orig: Uint8Array

      Originally-encoded version of the object.

    Returns void