Converts given bytes into a human readable format written in Java