code: @Override
    public IoBuffer putEnumShort(Enum<?> e) {
      if (e.ordinal() > SHORT_MASK) {
        throw new IllegalArgumentException(enumConversionErrorMessage(e, "short"));
      }
      return putShort((short) e.ordinal());
    }
docs: {@inheritDoc}