![]() ![]() (The cr value is combining two bytes together to make one value. I would then take certain bytes out of the strings and convert them to Decimal formats:Ĭr = c1 + (Int(c2 * 256)) + (Int(c3 * 65536)) I am not sure what type object is or if that would be how to do this:įileStream fs = new FileStream(fn, FileMode.Open) I Entered this in my code, but do not know if it is right? The builder did not like dta defined as a string, but object was okay. (File read into buf1, buf2, buf3, buf4 all defined as String) How can I do this?Īnd then edits the data. The file consists of hex data, So I would guess that means using the BinaryReader? But I can't read the data into a string defined field in C#. What it does is ask the user for a filename (I have this part figured out and it works), opens the filename and reads it into memory strings: I am trying to re-create a program like I had in VB6 (which was originally from QBasic). ![]() I am learning C# in Visual Studio Express. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |