Length-prefixed framing for byte streams
Go to file
_ 8955846e9c add links 2025-04-13 23:52:40 -05:00
src initial commit 2025-04-13 23:26:32 -05:00
.gitignore initial commit 2025-04-13 23:26:32 -05:00
Cargo.toml add description and stuff 2025-04-13 23:29:02 -05:00
README.md add links 2025-04-13 23:52:40 -05:00

README.md

Length-prefixed framing for byte streams. Similar to Tokio's codec module or Ogg.

Structures:

  • Framer - Takes datagrams and returns a byte stream.
  • Deframer - Takes a byte stream and returns datagrams.
  • Multiplexer - Takes multiple byte streams and returns one byte stream.
  • Demultiplexer - Takes one byte stream and returns multiple byte streams.
  • MultiFramer - A convenience wrapper around Framers and a Multiplexer, which takes datagrams of multiple streams and returns one byte stream.
  • DeMultiFramer - A convenience wrapper around Deframers and a Demultiplexer, which takes one byte stream and returns datagrams of multiple streams.

Links