|
Furrent
|
#include <message.hpp>


Public Member Functions | |
| BitfieldMessage (Bitfield bitfield) | |
| MessageKind | kind () const override |
Static Public Member Functions | |
| static std::unique_ptr< BitfieldMessage > | decode (const TorrentFile &torrent, const std::vector< uint8_t > &buf) |
Public Attributes | |
| const Bitfield | bitfield |
| Bitfield representing the pieces available. More... | |
Used by the peer to inform us of the pieces it has available for sharing. <length=1+X><id=5><bitfield> where X is the length of the bitfield.
|
inlineexplicit |
|
static |
|
inlineoverridevirtual |
Returns the kind of this message. Used before dynamic_casting when the underlying type is not known beforehand.
Implements fur::download::message::Message.
| const Bitfield fur::download::message::BitfieldMessage::bitfield |
Bitfield representing the pieces available.
1.8.17