Crate packet_encoding

source ·
Expand description

Generic utilities for encoding/decoding packets.

Macros§

Traits§

  • A decodable type can be created from a byte buffer. The type returned is separate (copied) from the buffer once decoded.
  • An encodable type can write itself into a byte buffer.