#extension #protocols #dev #buf-mut #variables #codec #length

bufmut-netext

Small set of extensions for BufMut useful for protocol dev

1 unstable release

0.1.0 Sep 14, 2021

#3 in #buf-mut

MIT license

6KB
164 lines

BufMut extensions

A small set of extensions for BufMut that provides useful functionality for protocol development.

Mainly:

  • Variable length integer
  • Extension to buffer that allows to take a variable size integer from the buffer
  • A codec trait
  • Codec trait implementation for IPv4 and IPv6

Dependencies

~175KB