docs: public ShortBuffer put (ShortBuffer src) {
          if (src == this) {
              throw new IllegalArgumentException();
          }
          if (src.remaining() > remaining()) {
              throw new BufferOverflowException();
          }
          short[] contents = new short[src.remaining()];
          src.get(contents);
          put(contents);
          return this;
      }