This part in particular is not really a big deal. You can just create a BinaryReader something like this:and inside the Using block you call methods like ReadChars and ReadInt32.vb.net Code:
Using reader As New IO.BinaryReader(IO.File.OpenRead("file path here")) 'Read file here. End Using
Note that if you want to read text that is not prefixed with its length then you need to call ReadChars, NOT ReadString, and then convert the Char array returned to a String.




Reply With Quote