Utf8
The UTF-8 boundary shared by process and control transports, in both directions.
Source and package
- Qualified name
-
io.github .libtmux .internal. Utf8 - Package
- io.github.libtmux.internal
- Distribution
- io.github.libtmux:libtmux
- Source
- libtmux/src/main/java/io/github/libtmux/internal/Utf8.java
Members5#
- argumentsAreUtf8 method
- backslashReplace method Decodes valid UTF-8 and writes each malformed byte as a recoverable
\xNNescape. - encodable method Whether this JVM can hand every one of these to a child process intact.
- requireEncodableArguments method Refuses argument text this JVM would corrupt on the way to tmux.
- Stream class Decodes one byte stream that arrives in pieces cut anywhere, as
#backslashReplace()decodes a whole one. A character cut between two pieces is held back and returned whole with the later piece. One per stream, on one thread.