convert message binary to dec in C£.net code example
Example 1: convert binary to decimal c++ stl
string bin_string = "10101010";
int number =0;
number = stoi(bin_string, 0, 2);
// number = 170
Example 2: c# integer to bit string
int value = 8;
string binary = Convert.ToString(value, 2);