Interface EncodableValue
-
- 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 EncodableValueDefines an object as being capable of encoding withCLValueEncoder- Since:
- 0.0.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidencode(CLValueEncoder clve)Called when the object's values must be encoded for serializing
-
-
-
Method Detail
-
encode
void encode(CLValueEncoder clve) throws java.io.IOException, CLValueEncodeException, DynamicInstanceException, NoSuchTypeException
Called when the object's values must be encoded for serializing- Parameters:
clve- the encoder to be used- Throws:
java.io.IOExceptionCLValueEncodeExceptionDynamicInstanceExceptionNoSuchTypeException
-
-