@Override
  public void setTimestamp(long ts) throws IOException {
    ByteBufferUtils.copyFromArrayToBuffer(this.buf, this.getTimestampOffset(), Bytes.toBytes(ts), 0,
      Bytes.SIZEOF_LONG);
  }
This Cell is an implementation of {@link ByteBufferExtendedCell} where the data resides in off
heap/ on heap ByteBuffer
hbase-common/src/main/java/org/apache/hadoop/hbase/ByteBufferKeyValue.java