void Decode (int value, out short c, out short v) { uint temp = (uint)value; c = (short)(temp & 0xFFFF); v = (short)(temp >> 16); } }