docs: public void putList(Collection<String> elements)
      {
          if (elements == null) {
              putNumber1(0);
          }
          else {
              Utils.checkArgument(elements.size() < 256, "Collection has to be smaller than 256 elements");
              putNumber1(elements.size());
              for (String string : elements) {
                  putString(string);
              }
          }
      }