dns_types::protocol

Module serialise

Source
Expand description

Serialisation of DNS messages to the wire format. See the types module for details of the format.

Structs§

  • A buffer which can be written to, for serialisation purposes.

Enums§

  • Errors encountered when serialising a message.

Functions§

  • Helper function to convert a usize into a u16 (or return an error).