implement a-sync and i-sync decoding
Implement atom packet decoding.