Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

C# string of ones and zeros to byte

Name: Anonymous 2011-11-12 12:34

So i have a string(actualy its a string builder) with zeros and ones in it.

How can i convert these 0 and 1 directly to byte arrays? Or even better directly write then into a file.

Name: Anonymous 2011-11-12 13:29

Forget it . It's np complete

Name: Anonymous 2011-11-12 13:33

Typical C# programmer. When the revolution comes I'll make sure that you will be among the first to be shot.

Name: Anonymous 2011-11-12 13:41

>>1
Disregard that, I suck cocks.

Name: Anonymous 2011-11-12 15:56

nigger.ToByte();

Name: Anonymous 2011-11-12 16:18

Wow, I can't imagine more stupid than this.'
>storing binary as string

Name: Steve Ballmer 2011-11-12 16:21

>>6
Why do you think programs use so much RAM these days? We won't get kickbacks from RAM manufacturers if we don't waste RAM. Oh, and in Windows 8 we're switching all of our binary data to UTF-32.

Don't change these.
Name: Email:
Entire Thread Thread List