RLPX Packet.
More...
#include <RLPXPacket.h>
RLPX Packet.
Definition at line 39 of file RLPXPacket.h.
dev::p2p::RLPXPacket::RLPXPacket |
( |
uint8_t |
_capId, |
|
|
bytesConstRef |
_in |
|
) |
| |
|
inline |
Construct packet from single bytestream. RLPStream data is invalidated.
Definition at line 46 of file RLPXPacket.h.
dev::p2p::RLPXPacket::RLPXPacket |
( |
RLPXPacket const & |
_p | ) |
|
|
delete |
dev::p2p::RLPXPacket::RLPXPacket |
( |
RLPXPacket && |
_p | ) |
|
|
inline |
Appends byte data and returns if packet is valid.
Definition at line 60 of file RLPXPacket.h.
uint8_t dev::p2p::RLPXPacket::cap |
( |
| ) |
const |
|
inline |
bytes const& dev::p2p::RLPXPacket::data |
( |
| ) |
const |
|
inline |
virtual bool dev::p2p::RLPXPacket::isValid |
( |
| ) |
const |
|
inlinevirtualnoexcept |
size_t dev::p2p::RLPXPacket::size |
( |
| ) |
const |
|
inline |
bytes const& dev::p2p::RLPXPacket::type |
( |
| ) |
const |
|
inline |
uint8_t dev::p2p::RLPXPacket::m_cap |
|
protected |
bytes dev::p2p::RLPXPacket::m_data |
|
protected |
bytes dev::p2p::RLPXPacket::m_type |
|
protected |
The documentation for this class was generated from the following file: