Converts bytearray data received through communication into string.
If the bytearray is long (ex 355), the back is truncated.
Same goes for utf-8, utf-16 etc.<