Converts a 32-bit unsigned integer to a string of length 4.
using System.IO; using System.Reflection; internal class Util { public static string ConvertUIntToString(uint Input) { System.Text.StringBuilder output = new System.Text.StringBuilder(); output.Append((char)((Input & 0xFF))); output.Append((char)((Input >> 8) & 0xFF)); output.Append((char)((Input >> 16) & 0xFF)); output.Append((char)((Input >> 24) & 0xFF)); return output.ToString(); } }