Add an Error type to the Serializable interface. This is useful to avoid multiple type conversions from CryptoCoreError to the error type of the crate using it.
In try_from_bytes() ensures all bytes are read during deserialization.
Add value() method to Deserializer
Add an
Error
type to theSerializable
interface. This is useful to avoid multiple type conversions fromCryptoCoreError
to the error type of the crate using it. Intry_from_bytes()
ensures all bytes are read during deserialization. Addvalue()
method toDeserializer