pub fn serialize<S>(bytes: &[u8], s: S) -> Result<S::Ok, S::Error>where S: Serializer,
Serialize a slice of bytes as a base64-encoded string.