libktorrent  2.2.0
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 Headerheader () const
 
bool parse ()
 Parses the packet, returns false on error.
 
const SelectiveAckselectiveAck () 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: