Skip to main content

serialize

pub fn serialize<S>(bytes: &[u8], s: S) -> Result<S::Ok, S::Error>
where S: Serializer,
Expand description

Serialize a slice of bytes as a base64-encoded string.