java.lang.Object
com.cryptoalgo.codable.Decodable<T>
com.cryptoalgo.codable.Codable<T>
- All Implemented Interfaces:
Encodable<T>
- Direct Known Subclasses:
Cluster
Convenience abstract class that can be inherited by classes
which conform to both
Encodable
and Decodable
Important:
Decoding constructor must be implemented for decoding
to populate fields, see Decodable(Decoder)
-
Constructor Details
-
Codable
Decoding constructor, may be called via reflection byDecoder
s.- Parameters:
decoder
- Instance ofDecoder
to be used for decoding- Throws:
DecodingException
- If decoding fails for whatever reason
-
Codable
protected Codable()Protected no-arg constructor to force inheriting classes to implement their own constructor.
-