Skip to main content

leaf_to_bytes

Function leaf_to_bytes 

Source
pub fn leaf_to_bytes<T: BorshSerialize>(leaf: &T) -> Vec<u8> 
Expand description

Serialize a leaf to bytes using borsh for deterministic encoding.