code: public static final Bytes of(String s, Charset c) {
      Objects.requireNonNull(s);
      Objects.requireNonNull(c);
      if (s.isEmpty()) {
        return EMPTY;
      }
      byte[] data = s.getBytes(c);
      return new Bytes(data);
    }
docs: Creates a Bytes object by copying the value of the given String with a given charset