I did this one for the output to be in binary ;
message.as_bytes().iter().for_each(|b| print!("{:b}", b));
with format! doesn't print nothing, with println! it does ;
println!("{:b}", 'C' as u32);
I did this one for the output to be in binary ;
message.as_bytes().iter().for_each(|b| print!("{:b}", b));
with format! doesn't print nothing, with println! it does ;
println!("{:b}", 'C' as u32);