title: Converting compressed data in array of bytes to string
body: <p>Suppose I have an <code>Array[Byte]</code> called <code>cmp</code>. <code>val cmp = Array[Byte](120, -100)</code>.
  Now, <code>new String(cmp)</code> gives <code>x�</code>, and <code>(new String(cmp)).getBytes</code> gives <code>Array(120, -17, -65, -67)</code> which isn't equal to the original <code>Array[Byte](120, -100)</code>. This byte of <code>-100</code> was part of an <code>Array[Byte]</code> obtained by compressing some string using Zlib.</p>
  
  <p>Note: These operations were done in Scala's repl.</p>