protected static char ConvertToHexDigit(ulong byt) { byt &= 0xF; if (byt < 10) return (char)(byt + 0x30); else return (char)(byt + 0x37); }