Data Fields | |
uint16_t | magic |
magic number (0xdaa1) | |
uint16_t | size |
total frame size in bytes | |
uint16_t | type |
frame type | |
uint16_t | subtype |
frame subtype |
We synchronise by scanning a stream to look for the magic number (WAG_MAGIC). We can then tell the size and type of this frame, and pass over it if necessary.
|
magic number (0xdaa1)
|
|
total frame size in bytes
|
|
frame subtype
|
|
frame type
|