public ByteBuffer putLong(int i, long x) {

    Bits.putLong(this, ix(checkIndex(i, 8)), x, bigEndian);
    return this;
  }
 public void put(String name, long val) {
   Bits.putLong(primVals, getFieldOffset(name, Long.TYPE), val);
 }
  public ByteBuffer putLong(long x) {

    Bits.putLong(this, ix(nextPutIndex(8)), x, bigEndian);
    return this;
  }