Documentation
¶
Overview ¶
Package jump contain mini pack function that quick jumping through a binary message.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func To ¶
To jumps to the start of the i-th RR in the message, that starts at msgBuf[0]. This counts from 0 which returns the RR *after* a possible question section. When we jump over the entire message, 0 is returned. The supported number of "RR"s in the question section is zero or one. The zero check is done by checking the Qdcount *in the buffer* as there is no other way of doing so.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.