Crate nt_packet

Source
Expand description

A crate containing base traits for interacting with NetworkTables packets in buffers

This crate contains the traits core to nt and nt-packet-derive for reading and writing values (Packets or other complex values) to and from byte buffers from the bytes crate.

This is not meant to be used alone, and is merely here so that nt and nt-packet-derive are able to share the same key traits.

Traits§

BufExt
Trait containing functions for reading integers from Buf Wraps existing functions, providing a safer API without panics
ClientMessage
Trait representing an NT message/packet headed Client –> Server
ServerMessage
Trait representing an NT message/packet headed Server –> Client