decode!
Source and package
- Qualified name
-
LibTmux. decode! - Module
- LibTmux
- Package
- LibTmux
- Source
- src/text.jl
- decode!( decoder::Lib
Tmux , chunk::Abstract.Text Decoder Vector {UInt8}; final, ) -
Methods
Decode a copied chunk and return its complete text. Incomplete sequences span calls.
final=truefinishes the stream: a remaining partial sequence raisesInvalidUTF8Erroror produces one U+FFFD, according toinvalid. Further calls after final input or a strict error raiseInvalidStateException.decode!(decoder::TextDecoder, chunk::AbstractVector{UInt8}; final=false)Error offsets count all input bytes from one, including earlier chunks, and identify the beginning of the malformed subsequence. No I/O occurs. The decoder must not be shared by concurrent callers.
- Parameters
-
Recorded calls
source callsThe Julia reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls LibTmux.decode!.