Left Up Binärprotokolle

Beschreibung in C++

struct Track
{
   bool hostile:1;
   unsigned air_platform : 6;
   /* ... */
  
} __attribute__((packed));

Kritik

Analyse Layout

Direktive sizeof
sizeof(int)
Macro/buildin offsetof
offsetof(struktur,property)

Informatik- und Netzwerkverein Ravensburg e.V Rudolf Weber