Function encode

Source
pub fn encode<T>(value: &T) -> Vec<u8> 
where T: BorshSerialize,
Expand description

Encode a value with borsh