code: public static String readCompressedString(DataInput in) throws IOException {
          byte[] bytes = readCompressedByteArray(in);
          if (bytes == null)
              return null;
          return new String(bytes, "UTF-8");
      }
docs: /* Ugly utility, maybe someone else can do this better