Function musli_wire::to_fixed_bytes
source · pub fn to_fixed_bytes<const N: usize, T>(
value: &T
) -> Result<FixedBytes<N>, Error>
Expand description
Encode the given value to a fixed-size bytes using the DEFAULT
configuration.