e500v2 c++ decoding library