virtual int BytesAvailable() = 0;
BytesAvailable returns the number of bytes available to read from a stream without blocking. For a file, this should generally be number of bytes till the end.
An int value containing the bytes available.