Type Alias ansi_term::ANSIByteString

source ·
pub type ANSIByteString<'a> = ANSIGenericString<'a, [u8]>;
Expand description

An ANSIByteString represents a formatted series of bytes. Use ANSIByteString when styling text with an unknown encoding.

Aliased Type§

struct ANSIByteString<'a> { /* private fields */ }



impl<'a> ANSIByteString<'a>


pub fn write_to<W: Write>(&self, w: &mut W) -> Result<()>

Write an ANSIByteString to an io::Write. This writes the escape sequences for the associated Style around the bytes.