Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reader ¶
type Reader struct {
// contains filtered or unexported fields
}
Reader is used for reading packets from an io.Reader.
func (*Reader) ReadPacket ¶
ReadPacket reads a packet from the underlying io.Reader. It first reads the length of the packet as an uint32 in big-endian order, then reads the actual packet data of that length.
Click to show internal directories.
Click to hide internal directories.