docs: public void set(String string) {
          try {
              ByteBuffer bb = encode(string, true);
              bytes = bb.array();
              length = bb.limit();
          } catch (CharacterCodingException e) {
              throw new RuntimeException("Should not have happened " + e.toString());
          }
      }