public ByteBuffer putShort(int i, short x) {

    Bits.putShort(this, ix(checkIndex(i, 2)), x, bigEndian);
    return this;
  }
 public void put(String name, short val) {
   Bits.putShort(primVals, getFieldOffset(name, Short.TYPE), val);
 }
  public ByteBuffer putShort(short x) {

    Bits.putShort(this, ix(nextPutIndex(2)), x, bigEndian);
    return this;
  }