/* (non-Javadoc) * @see java.io.InputStream#available() */ //UPGRADE_NOTE: The equivalent of method 'java.io.InputStream.available' is not an override method. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1143'" public int available() { if (count == -1) { return(0); } //Size of our stream + the number of bytes we haven't yet read. long available; available = in_Renamed.Length - in_Renamed.Position; return(((in_Renamed is org.javarosa.core.util.MultiInputStream || in_Renamed is org.javarosa.core.io.BufferedInputStream)?(int)SupportClass.InvokeMethodAsVirtual(in_Renamed, "available", new System.Object[] {}):(int)available) + (count - position)); }