.......PS. [ZBX-8172] merged int and string decoding functions