Writing in raw 1's and 0's 01-31-2011, 01:59 PM
#1
Hey 
Past few days I was trying to make a program to write raw 0's and 1's into a file.
Sadly I failed, since all the ways I founf write in ASCII
here is last code I tested:
Thanks
Enjoy!!!
If you wanna test, here is some translations: http://1llusion.fileave.com/test.txt
Thanks again

Past few days I was trying to make a program to write raw 0's and 1's into a file.
Sadly I failed, since all the ways I founf write in ASCII
here is last code I tested:
Code:
Dim fs As New FileStream(TextBox2.Text, FileMode.Create, FileAccess.Write)
Dim s As New BinaryWriter(fs)
s.BaseStream.Seek(0, SeekOrigin.End)
s.Write(TextBox1.Text)
s.Close()
Thanks

Enjoy!!!
If you wanna test, here is some translations: http://1llusion.fileave.com/test.txt
Thanks again

Staff will never ever ask you for your personal information.
We know everything about you anyway.
We know everything about you anyway.