private static void intToBytes(int value, byte[] dest, int offset) {
    dest[offset] = (byte) ((value >> 24) & 0xFF);
    dest[offset + 1] = (byte) ((value >> 16) & 0xFF);
    dest[offset + 2] = (byte) ((value >> 8) & 0xFF);
    dest[offset + 3] = (byte) (value & 0xFF);
  }
Writes <code>value</code> into <code>dest</code> at <code>offset</code>

@param value
@param dest
@param offset
serde/src/java/org/apache/hadoop/hive/serde2/io/TimestampLocalTZWritable.java