Trait massa_models::serialization::SerializeMinBEInt
source · pub trait SerializeMinBEInt {
// Required method
fn to_be_bytes_min(self, max_value: Self) -> Result<Vec<u8>, ModelsError>;
}
Expand description
Serialize min big endian integer
Required Methods§
sourcefn to_be_bytes_min(self, max_value: Self) -> Result<Vec<u8>, ModelsError>
fn to_be_bytes_min(self, max_value: Self) -> Result<Vec<u8>, ModelsError>
serializes with the minimal amount of big endian bytes
Object Safety§
This trait is not object safe.