For converting back to a character: just read the array of bytes until a byte is encountered < 128? ...
stackoverflow.com