Interface ICBORConverter<T>

  • Type Parameters:
    T - Type to convert to a CBOR object.
    All Known Subinterfaces:
    ICBORToFromConverter<T>

    public interface ICBORConverter<T>
    Interface implemented by classes that convert objects of arbitrary types to CBOR objects.
    • Method Detail

      • ToCBORObject

        CBORObject ToCBORObject​(T obj)
        Converts an object to a CBOR object.
        Parameters:
        obj - An object to convert to a CBOR object.
        Returns:
        A CBOR object.