_覓 | 覦覈襦 | 豕蠏手 | 殊螳 | 譯殊碁 |
FrontPage › Bit瑚鍵
|
|
ろ襴渚 ろ
public override void 0_ProcessInputRow(0Buffer Row) { /* * Add your code here */ Row.onecnt = HexToBin(Row.hex).Replace("0", "").Length; } static string HexToBin(string hexadecimal) { string binary = string.Empty; for (int i = 0; i < hexadecimal.Length; i++) { switch (hexadecimal[i]) { case '0': binary += "0000"; break; case '1': binary += "0001"; break; case '2': binary += "0010"; break; case '3': binary += "0011"; break; case '4': binary += "0100"; break; case '5': binary += "0101"; break; case '6': binary += "0110"; break; case '7': binary += "0111"; break; case '8': binary += "1000"; break; case '9': binary += "1001"; break; case 'A': binary += "1010"; break; case 'B': binary += "1011"; break; case 'C': binary += "1100"; break; case 'D': binary += "1101"; break; case 'E': binary += "1110"; break; case 'F': binary += "1111"; break; default: break; } } //remove leading zero's binary = binary.Trim('0'); return (binary); }
鏤
|
語 覈朱螳 螻殊朱 螻 企手 螳. 轟 語 襷れ朱Г 螳ロ 瑚朱 讀蠍 蟆企. 蟒リ鍵襯 襷♀鍵 螳 企. 襷れ朱Г殊 螳 企 企れ 覓語 覺谿讌 螳 蠏 殊 覿覿 讀蟆. (企 貎 "炎概 觜覦" 筝) |