docs: protected byte[] encodeString(String in) {
      byte[] rv = null;
      try {
        rv = in.getBytes(this.charset);
      } catch (UnsupportedEncodingException e) {
        throw new RuntimeException(e);
      }
      return rv;
    }