Retrieves the length in bytes of this stream.
public long getLength()
Returns the length of the stream.
IOException thrown if an I/O error occurs or if the length of the stream cannot be determined.
See Also setLength