pub fn serialize<S>(bytes: &Vec<u8>, serializer: S) -> Result<S::Ok, S::Error>where S: Serializer,
Serialize a Vec<u8> as a base64 string
Vec<u8>
This is compatible with rosbridge’s protocol which expects uint8[] as base64.