to_writer_base64_bytes

Function to_writer_base64_bytes 

Source
pub fn to_writer_base64_bytes<W, T>(
    writer: W,
    value: &T,
) -> Result<(), W::Error>
where W: SerWrite, <W as SerWrite>::Error: Display + Debug, T: Serialize + ?Sized,
Expand description

Serialize value as JSON to a SerWrite implementation.

Serialize bytes as Base-64 strings.