libframing

Crates.iolibframing
lib.rslibframing
version0.1.0
created_at2025-04-14 04:53:04.350229+00
updated_at2025-04-14 04:53:04.350229+00
descriptionLength-prefixed framing for byte streams
homepage
repositoryhttps://six-five-six-four.com/git/reactor/libframing
max_upload_size
id1632384
size2,310
Reactor Scram (ReactorScram)

documentation

README

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

Commit count: 0

cargo fmt