Function getEncoded

  • Get the encoded version of the object, if it has been stored on the object.

    Parameters

    • obj: unknown

      Object to check.

    Returns undefined | Uint8Array<ArrayBufferLike>

    Encoded version as bytes, if available.