Type Definition ansi_term::ANSIByteString[][src]

type ANSIByteString<'a> = ANSIGenericString<'a, [u8]>;
[]

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

Implementations

impl<'a> ANSIByteString<'a>[src][]

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

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