Function common_primitives::utils::as_string::serialize
source · pub fn serialize<S: Serializer>(
bytes: &Vec<u8>,
serializer: S
) -> Result<S::Ok, S::Error>
Expand description
Serializes a Vec<u8>
into a UTF-8 string