libframing 0.1.0

Length-prefixed framing for byte streams
Documentation
  • Coverage
  • 0%
    0 out of 2 items documented0 out of 1 items with examples
  • Size
  • Source code size: 2.31 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 233.98 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 10s Average build duration of successful builds.
  • all releases: 10s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • ReactorScram

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