Function postcard::ser_flavors::crc::to_vec_u128
source · pub fn to_vec_u128<'a, T, const B: usize>(
value: &T,
digest: Digest<'a, u128>
) -> Result<Vec<u8, B>>where
T: Serialize + ?Sized,
Available on crate features
use-crc
and heapless
only.Expand description
Serialize a T
to a heapless::Vec<u8>
, with the Vec
containing
data followed by a CRC. The CRC bytes are included in the output Vec
.