G
Guest
Hi,
I was using the Reader class to read a binary file and I noticed that
there is no PeekByte and also its not optimised when using Peek and Read in
sequence.
If the .Peek is called its read the next char, and then .Read after its
reading twice, why cant the .Read use the stored Peek internally? It would
be twice as fast.
I was using the Reader class to read a binary file and I noticed that
there is no PeekByte and also its not optimised when using Peek and Read in
sequence.
If the .Peek is called its read the next char, and then .Read after its
reading twice, why cant the .Read use the stored Peek internally? It would
be twice as fast.