Retrieves the length of the stream in bytes.
public long getLength()
Returns the length of the stream.
The default implementation raises an IOException, but a subclass can override this method to provide the appropriate functionality.