libktorrent  2.1.1
Public Member Functions | List of all members
utp::PacketParser Class Reference

#include <utpprotocol.h>

Public Member Functions

 PacketParser (const bt::Uint8 *packet, bt::Uint32 size)
 
 PacketParser (const QByteArray &packet)
 
bt::Uint32 dataOffset () const
 
bt::Uint32 dataSize () const
 
const Header * header () const
 
bool parse ()
 Parses the packet, returns false on error.
 
const SelectiveAck * selectiveAck () const
 

Detailed Description

Helper class to parse packets

Definition at line 181 of file utpprotocol.h.


The documentation for this class was generated from the following file: