I need to decode binary data (C#) represented by structures like this example:
struct Message
{
byte id;
int type;
bool valid;
}
And the example binary data: 0x040000000201 where id=4, type=2, valid=true;
Can I use Thrift, Protocol Buffers, or any other tool to decode a binary data that was not encoded by the same tool? Can you give any suggestions on how do that?