Getting to the point: It seems you want to manipulate byte values.
That's simple in VB.Net: Use "File.ReadAllBytes" to get a byte array, get bytes out of it, modify bytes, etc, and use "File.WriteAllBytes" to write back to the file. (To make a new file, create a new byte array, put whatever data...