Module packet_reader

Source
Expand description

Collects X11 data into “packets” to be parsed by a display.

Structs§

PacketReader
A wrapper around a buffer used to read X11 packets.

Constants§

MINIMAL_PACKET_LENGTH 🔒
Minimal length of an X11 packet.

Functions§

extra_length 🔒
Compute the length of the data we need to read, beyond the MINIMAL_PACKET_LENGTH.