Interface DecodableValue
-
- All Known Implementing Classes:
AbstractCLValue,AbstractCLValueWithChildren,CLValueAny,CLValueBool,CLValueByteArray,CLValueFixedList,CLValueI32,CLValueI64,CLValueKey,CLValueList,CLValueMap,CLValueOption,CLValuePublicKey,CLValueResult,CLValueString,CLValueTuple1,CLValueTuple2,CLValueTuple3,CLValueU128,CLValueU256,CLValueU32,CLValueU512,CLValueU64,CLValueU8,CLValueUnit,CLValueURef
public interface DecodableValueDefines an object as being capable of decoding withCLValueDecoder- Since:
- 0.0.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddecode(CLValueDecoder clvd)Called when the object's values must be decoded after deserializing
-
-
-
Method Detail
-
decode
void decode(CLValueDecoder clvd) throws java.io.IOException, CLValueDecodeException, DynamicInstanceException, NoSuchTypeException
Called when the object's values must be decoded after deserializing- Parameters:
clvd- the decoder to be used- Throws:
NoSuchTypeException- thrown if type not foundDynamicInstanceException- thrown if it could not instantiate a typeCLValueDecodeException- thrown if failed to decode a cl valuejava.io.IOException- thrown if an IO error occurs
-
-