public void serializeTo96(IntBuffer buf) {
    assert (this.mag.getV3() == 0 && this.mag.getV2() >= 0);
    buf.put(this.mag.getV0());
    buf.put(this.mag.getV1());
    buf.put(this.mag.getV2()
        | (this.negative ? SqlMathUtil.NEGATIVE_INT_MASK : 0));
  }
Serializes the value of this object to ByteBuffer, putting only 96 bits
data.

@param buf
         ByteBuffer to use
common/src/java/org/apache/hadoop/hive/common/type/SignedInt128.java