Package com.upokecenter.cbor
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CBORObjectToCBORObject(T obj)Converts an object to a CBOR object.
-
-
-
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.
-
-