PeterO.Cbor.ICBORToFromConverter-T
## PeterO.Cbor.ICBORToFromConverter
public interface ICBORToFromConverter<T> : PeterO.Cbor.ICBORConverter<T>
Classes that implement this interface can support conversions from CBOR objects to a custom type and back.
Member Summary
[FromCBORObject(PeterO.Cbor.CBORObject)](#FromCBORObject_PeterO_Cbor_CBORObject)
- Converts a CBOR object to a custom type.
Parameters:
- <T>: Type of objects to convert to and from CBOR objects.
T FromCBORObject( PeterO.Cbor.CBORObject obj);
Converts a CBOR object to a custom type.
Parameters:
- obj: A CBOR object to convert to the custom type.
Return Value:
An object of the custom type after conversion.