RTCM decode/encode