Function concordium_contracts_common::schema::serial_length
source · pub fn serial_length<W: Write>(
len: usize,
size_len: SizeLength,
out: &mut W
) -> Result<(), W::Err>
Expand description
Try to convert the len
to the provided size and serialize it.