Retrieves the current size of the stream.
public int getCapacity()
Returns the current size of the stream.