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

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