public void StringSetBytes()
{
byte[] data = new byte[]
{
42, 0, 0, 128
};
// This function should fail on Strings
String actual = BitConverterEx.SetBytes<String>(data);
}
#endregion System.UInt32