System.Threading.Snzi.RootNode.Encode C# (CSharp) Method

Encode() private method

private Encode ( short c, bool a, short v ) : int
c short
a bool
v short
return int
			int Encode (short c, bool a, short v)
			{
				uint temp = 0;
				temp |= (uint)c;
				temp |= (uint)(a ? 0x8000 : 0);
				temp |= ((uint)v) << 16;
				
				return (int)temp;
			}