InputStream.getSize

Return the size of the stream.

interface InputStream
long
getSize
()

Return Value

Type: long

The total number of bytes available in the stream, or -1 on error.

Meta