Hey guys, I got the following stored in a text (.txt) file, which is, of course, zipped:
Hello World!
However, if I read the file like:
Hello World!
However, if I read the file like:
ZipInputStream zis = new ZipInputStream(entry.OpenInputStream());
StreamReader streamReader = new StreamReader(zis);
String text = streamReader.ReadToEnd();
The string (text) is:
ello World!
Am I doing something wrong or is this a bug (a read() instead of a peek() somewhere)?
Thank you!