On this page
formats.text.TmuxText.from_bytes
- Module
- formats.text
- Declared in
- TmuxText
- Package
- libtmux
- Source
- crates/libtmux/src/formats/text.rs
-
Construct a value without validating or changing its bytes.
Examples
use libtmux::TmuxText; let text = TmuxText::from_bytes(vec![0, 0xff]); assert_eq!(text.as_bytes(), [0, 0xff]);
0 declared, 0 inherited