A packet of bytes.  
 More...
#include <gf/Packet.h>
|  | 
| Id | getType () | 
|  | Get the type of the underlying bytes.  More... 
 | 
|  | 
| template<typename T > | 
| T | as () | 
|  | Deserialize the underlying bytes into an object.  More... 
 | 
|  | 
| template<typename T > | 
| void | is (const T &data) | 
|  | Serialize the object into bytes.  More... 
 | 
|  | 
◆ as()
Deserialize the underlying bytes into an object. 
 
 
◆ getType()
  
  | 
        
          | Id gf::Packet::getType | ( |  | ) |  |  | inline | 
 
Get the type of the underlying bytes. 
 
 
◆ is()
template<typename T > 
  
  | 
        
          | void gf::Packet::is | ( | const T & | data | ) |  |  | inline | 
 
Serialize the object into bytes. 
 
 
◆ bytes
      
        
          | std::vector<uint8_t> gf::Packet::bytes | 
      
 
The bytes representing the object. 
 
 
◆ type