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