Package com.upokecenter.cbor
Interface ICBORToFromConverter<T>
-
- Type Parameters:
T- Type of objects to convert to and from CBOR objects.
- All Superinterfaces:
ICBORConverter<T>
public interface ICBORToFromConverter<T> extends ICBORConverter<T>
Classes that implement this interface can support conversions from CBOR objects to a custom type and back.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TFromCBORObject(CBORObject obj)Converts a CBOR object to a custom type.-
Methods inherited from interface com.upokecenter.cbor.ICBORConverter
ToCBORObject
-
-
-
-
Method Detail
-
FromCBORObject
T FromCBORObject(CBORObject obj)
Converts a CBOR object to a custom type.- Parameters:
obj- A CBOR object to convert to the custom type.- Returns:
- An object of the custom type after conversion.
-
-