I'm looking for a way to convert char to bin array in C# -


i'm trying find way convert char bit array, mess bit , convert back. answers string byte.

do mean bitarray?

if so:

char c = 'x'; byte[] bytes = bitconverter.getbytes(c); bitarray bits = new bitarray(bytes); 

Comments

Popular posts from this blog

c# SetCompatibleTextRenderingDefault must be called before the first -

c++ - Fill runtime data at compile time with templates -

C#.NET Oracle.ManagedDataAccess ConfigSchema.xsd -