Skip to main content

Module scalar_value_ser_de

Module scalar_value_ser_de 

Source
Expand description

Custom serializer that stores 128 bit integers as strings to avoid overflow.

Functionsยง

deserialize
deserialize_state
Stateful variant for types that derive DeserializeState: the state is irrelevant for a scalar, so we delegate to the stateless deserialize.
serialize
serialize_state
Stateful variant for types that derive SerializeState: the state is irrelevant for a scalar, so we delegate to the stateless serialize.