Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

formats.text.TmuxText.as_bytes

Rust
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust
  • Go Unavailable
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

Module
formats.text
Declared in
TmuxText
Package
libtmux
Source
crates/libtmux/src/formats/text.rs
as_bytes ( self ) → &[u8]
method [source]
method [source]
as_bytes

Return the exact stored bytes.

Examples

use libtmux::TmuxText;
let text = TmuxText::from_bytes(vec![b'a', 0xff]);
assert_eq!(text.as_bytes(), [b'a', 0xff]);

0 declared, 0 inherited

Esc

Type to search.