Function solana_sdk::borsh::get_packed_len[][src]

pub fn get_packed_len<S>() -> usize where
    S: BorshSchema, 
Expand description

Get the worst-case packed length for the given BorshSchema

Note: due to the serializer currently used by Borsh, this function cannot be used on-chain in the Safecoin BPF execution environment.