|   | BitwiseCastToInt32 Method | 
        
        Performs proper bitwise conversion between unsigned and signed value
        
        Namespace: GSFAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.257-beta+00aa2366fbb9ec75f636ebc7cfa610e3826a727c
 Syntax
Syntaxpublic static int ToInt32(
	uint unsignedInt
)
static member ToInt32 : 
        unsignedInt : uint32 -> int GSF.BitwiseCast.ToInt32 = function(unsignedInt);
Parameters
- unsignedInt  UInt32
- Unsigned integer that is passed in to be converted to a signed Int32.
Return Value
Int32The int value.
 Remarks
RemarksThis function is useful because Convert.ToInt32 will throw an OverflowException for values greater than Int32.MaxValue.
For example, this function correctly converts unsigned 32-bit integer 4294967295 (i.e., UInt32.MaxValue) to signed 32-bit integer -1.
 See Also
See Also