Function termstyle::write_repr
[−]
[src]
pub fn write_repr<W: Write>(w: &mut W, bytes: &[u8]) -> Result<()>
Helper function to make tests easier for others.
Represent a series of bytes with proper escape codes for
copy/pasting into rust surounded by b"..."
.