Java InputStream size

Viewed 53389

I need to get the size in bytes of an InputStream without creating a File instance. Is there any way to do it using Java NIO?

4 Answers
Related