So I have the following code and basically I\'m streaming bytes from a microcontroller reading the magic number first, then reading the key to identify what kind of informat