[][src]Type Definition ansi_term::ANSIByteString

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

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

Methods

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.