Function showata::show_bytes_in_jupyter[][src]

pub fn show_bytes_in_jupyter<S: AsRef<str>>(mime_type: S, buffer: &[u8])

Display bytes as base64 encoded

use showata::*;

let buffer: Vec<u8> = vec![];
show_bytes_in_jupyter("image/png", &buffer);