Function solana_sdk::serde_varint::serialize
source · pub fn serialize<S, T>(
value: &T,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
T: Copy + VarInt,
S: Serializer,
pub fn serialize<S, T>(
value: &T,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
T: Copy + VarInt,
S: Serializer,