CatapultServer
v0.5.0.1 (Elephant)
|
A packet header with a data payload. More...
Public Member Functions | |
uint8_t * | Data () |
Returns a non-const pointer to data contained in this packet. More... | |
constexpr const uint8_t * | Data () const |
Returns a const pointer to data contained in this packet. More... | |
Public Member Functions inherited from catapult::utils::NonCopyable | |
constexpr | NonCopyable ()=default |
Default constructor. More... | |
~NonCopyable ()=default | |
Default destructor. More... | |
NonCopyable (const NonCopyable &)=delete | |
Disabled copy constructor. More... | |
NonCopyable & | operator= (const NonCopyable &)=delete |
Disabled assignment operator. More... | |
Additional Inherited Members | |
Public Attributes inherited from catapult::ionet::PacketHeader | |
uint32_t | Size |
Size of the packet. More... | |
PacketType | Type |
Type of the packet. More... | |
A packet header with a data payload.
|
inline |
Returns a non-const pointer to data contained in this packet.
|
inlineconstexpr |
Returns a const pointer to data contained in this packet.