Expand description
Byte-stream mappers (CR/LF normalisation, future telnet/escape decoders, …).
A Mapper transforms a chunk of bytes into another chunk. It is
deliberately direction-agnostic — the caller decides whether the
mapper applies to inbound (imap), outbound (omap), or echoed
(emap) traffic. v0.1 ships a single concrete mapper,
LineEndingMapper, that covers the picocom-equivalent
crlf/lfcr/igncr/ignlf rules.
Structs§
- Line
Ending Config - The full set of line-ending mappers for a session’s byte streams.
- Line
Ending Mapper - Stateless byte mapper that applies a single
LineEndingrule.
Enums§
- Line
Ending - Line-ending transformation rule.
Traits§
- Mapper
- Generic byte-stream transformation.