Cosmian / crypto_core

Other
1 stars 1 forks source link

update serialization module #22

Closed tbrezot closed 2 years ago

tbrezot commented 2 years ago

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