decoding numeric values for little and big endiannesses implemented and tested
decoding complex message depending on endianness tested