public void UInt32SetBytes() { UInt32 expected = 2147483690; byte[] data = new byte[] { 42, 0, 0, 128 }; UInt32 actual = BitConverterEx.SetBytes<UInt32>(data); Assert.AreEqual(expected, actual); } #endregion System.UInt32