Java InputStream size - Stack Overflow
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? ... That's exactly what I said. It is exactly the opposite of what you said. You said available() can be used to return the size
stackoverflow.com |