spin_serde::base64

Function serialize

Source
pub fn serialize<S>(
    bytes: &Option<Vec<u8>>,
    serializer: S,
) -> Result<S::Ok, S::Error>
where S: Serializer,
Expand description

Serializes to base64.