Kings360s
Enthusiast
If I read a .bin into an array I can search for specific values?
Dim bytes = My.Computer.FileSystem.ReadAllBytes(
"C:/Documents and Settings/selfportrait.txt")
TextBox1.Text = Text.FromStream(New IO.MemoryStream(bytes))
How would I get the offset address of the value if found?
I need to repeat this process through the entire file recording all the offsets where a value is found. I really could use some help with the code. or lack of. I couldn't find anything on stackoverflow.
Dim bytes = My.Computer.FileSystem.ReadAllBytes(
"C:/Documents and Settings/selfportrait.txt")
TextBox1.Text = Text.FromStream(New IO.MemoryStream(bytes))
How would I get the offset address of the value if found?
I need to repeat this process through the entire file recording all the offsets where a value is found. I really could use some help with the code. or lack of. I couldn't find anything on stackoverflow.