I am loading 500Kb Vec into memory and would like to print!() let’s say first 100 bytes. I’ve tried
print!("buf: ", buf.as_slice().take(100))
but it turns out that it would create Take struct with derived Debug, which will print the the original source plus limit. Any idea how to do it?