readChar change the location of the stream? Why do I see that after reading a string with in.readChar in the code, I still need to use in.skipBytes (< bytes >) to read the rest.
for example, there is such a thing in the file:
Tom 75000.0 1987-11-15
code, the Tom is checked out with readChar, and then in.skipBytes (6), Tom takes up 6 bytes, char is 2 bytes). Then use in.readDouble (), to read 75000.0.
I just want to ask, why in.skipBytes (6)? Is there any documentation? I can"t find it either. I really don"t understand, and there seems to be no description in the source description. Which person can give me some advice, explain it in detail, or give me a train of thought for myself to see?