code: @Override
      public void putString(String string) {
          // empty string
          if ("".equals(string)) {
              putInteger(1);
              return;
          }
          final byte[] encoded = encodeString(string);
          putString(string, encoded);
      }
docs: {@inheritDoc}