code: @Override
      public <E extends Enum<E>> AbstractIoBufferEx putEnumSetShort(Set<E> set) {
          long vector = toLong(set);
          if ((vector & ~SHORT_MASK) != 0) {
              throw new IllegalArgumentException(
                      "The enum set is too large to fit in a short: " + set);
          }
          return putShort((short) vector);
      }
docs: {@inheritDoc}