Update FTL Format authored by Nicolas Pope's avatar Nicolas Pope
## Implemented Versions
See codecs/packets.hpp for the required data structures. First the Header structure is written / read directly with no encoding, followed by the IndexHeader structure for version 2 or greater. All subsequent data is MsgPack encoded. All subsequent data consists of a tuple of StreamPacket and Packet pairs (in that order). These packets specify stream, channel and codec information, allowing different kinds of data to be included in a stream.
First the Header structure is written / read directly with no encoding, followed by the IndexHeader structure for version 2 or greater.
```c++
struct Header {
const char magic[4] = {'F','T','L','F'};
uint8_t version = 3;
};
```
All subsequent data is MsgPack encoded. All subsequent data consists of a tuple of StreamPacket and Packet pairs (in that order). These packets specify stream, channel and codec information, allowing different kinds of data to be included in a stream.
### Version 0
No longer valid.
......
......