#include <RLPXPacket.h>
◆ RLPXPacket() [1/4]
Construct packet. RLPStream data is invalidated.
◆ RLPXPacket() [2/4]
dev::p2p::RLPXPacket::RLPXPacket |
( |
uint8_t |
_capId, |
|
|
bytesConstRef |
_in |
|
) |
| |
|
inline |
Construct packet from single bytestream. RLPStream data is invalidated.
◆ RLPXPacket() [3/4]
dev::p2p::RLPXPacket::RLPXPacket |
( |
RLPXPacket const & |
_p | ) |
|
|
delete |
◆ RLPXPacket() [4/4]
dev::p2p::RLPXPacket::RLPXPacket |
( |
RLPXPacket && |
_p | ) |
|
|
inline |
◆ append()
Appends byte data and returns if packet is valid.
◆ cap()
uint8_t dev::p2p::RLPXPacket::cap |
( |
| ) |
const |
|
inline |
◆ data()
bytes const& dev::p2p::RLPXPacket::data |
( |
| ) |
const |
|
inline |
◆ isValid()
virtual bool dev::p2p::RLPXPacket::isValid |
( |
| ) |
const |
|
inlinevirtualnoexcept |
◆ size()
size_t dev::p2p::RLPXPacket::size |
( |
| ) |
const |
|
inline |
◆ type()
bytes const& dev::p2p::RLPXPacket::type |
( |
| ) |
const |
|
inline |
◆ m_cap
uint8_t dev::p2p::RLPXPacket::m_cap |
|
protected |
◆ m_data
bytes dev::p2p::RLPXPacket::m_data |
|
protected |
◆ m_type
bytes dev::p2p::RLPXPacket::m_type |
|
protected |
The documentation for this class was generated from the following file: