docs: public static byte[] encodeLZ(String data, String dictionary) {
      byte[] asBytes = new byte[0];
      try {
        asBytes = data.getBytes("UTF-8");
      } catch (UnsupportedEncodingException e) {
        throw new RuntimeException(e);
      }
      return encodeLZ(asBytes, dictionary);
    }