Hello, can someone help me with this InputStream. I use URL's openStream() to get it. And, when I try to read it by buffers of 4148, it returns me random half-read bytes (1309, 1910, 767 etc). Is this because of Internet? It was working before Afternoon, is it Server that did something?
The whole point of networks adjusting various things like packet size is so that you don't notice a difference
It's completely transparent to you
I'd say shelve it for now, monitor it for a couple of days, if you're still getting very low streams on various networks, verify that the server isn't doing something sketchy
Oh, I was reading bytes from InputStream, decrypt the read buffer, write the decrypted buffer in outputStream. It will go away if I fully download the file first, and then decrypt it locally. right? do you mean this?
Thanks. I will. I am heading to postman now, maybe they will have some hint.