|
Whisper Library
|
Represents a network packet. More...

Public Member Functions | |
| GenericPacket () | |
| Creates a GenericPacket. | |
| GenericPacket (vector< bool > content) | |
| Creates a GenericPacket with the given content. More... | |
| void | setPacket (vector< bool > content) |
| Sets the content of the packet. More... | |
| vector< bool > | packet () const |
Private Attributes | |
| vector< bool > | m_content |
| holds the packets content | |
Represents a network packet.
|
inline |
Creates a GenericPacket with the given content.
| content | The bits used to fill the packet |
| vector< bool > whisper_library::GenericPacket::packet | ( | ) | const |
| void whisper_library::GenericPacket::setPacket | ( | vector< bool > | content | ) |
Sets the content of the packet.
| content | The new content |