NetworkPacket Struct Reference
Helper class for reading/writing packet content in network byte-order (MSB first) More...
#include <Packet.h>
Inheritance diagram for NetworkPacket:
Collaboration diagram for NetworkPacket:
Public Member Functions | |
| uint16_t | peek16 () const |
| uint16_t | read16 () const |
| uint32_t | read32 () const |
| void | write16 (uint16_t value) |
| void | write32 (uint32_t value) |
| Packet (void *data, uint16_t pos=0) | |
Public Member Functions inherited from Packet | |
| Packet (void *data, uint16_t pos=0) | |
| const uint8_t * | ptr () const |
| uint8_t * | ptr () |
| void | skip (uint16_t len) const |
| uint8_t | peek8 () const |
| uint8_t | read8 () const |
| void | read (void *buffer, uint16_t len) const |
| String | readString (uint16_t length) const |
| void | write8 (uint8_t value) |
| void | write (const void *s, uint16_t len) |
Additional Inherited Members | |
Public Attributes inherited from Packet | |
| uint8_t * | data |
| uint16_t | pos |
Detailed Description
Helper class for reading/writing packet content in network byte-order (MSB first)
Member Function Documentation
◆ Packet()
|
inline |
◆ peek16()
|
inline |
◆ read16()
|
inline |
◆ read32()
|
inline |
◆ write16()
|
inline |
◆ write32()
|
inline |
The documentation for this struct was generated from the following file:
Public Member Functions inherited from
1.9.1