Function pack_with_versionstamp

Source
pub fn pack_with_versionstamp<T>(v: &T) -> Vec<u8> 
where T: TuplePack,
Expand description

Pack value and returns the packed buffer

§Panics

Panics if there is multiple versionstamp present or if the encoded data size doesn’t fit in u32.