Skip to main content

pack_with_versionstamp

Function pack_with_versionstamp 

Source
pub fn pack_with_versionstamp<T: TuplePack>(v: &T) -> Vec<u8> 
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.