InputStream.getSize

Return the size of the stream.

interface InputStream
long
getSize
(
)

Return Value

Type: long

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

Meta