Function decodeMsgpack

  • Decode a msgpack byte array to an Encodable object.

    Type Parameters

    Parameters

    • encoded: ArrayLike<number>

      The msgpack bytes to decode

    • c: EncodableClass<T>

      The class of the object to decode. This class must match the object that was encoded.

    Returns T

    An instance of the class with the decoded data

Generated using TypeDoc