src/sys/dotnet/fan/sys/InStream.cs
/// <summary>
/// Read a byte using a Java primitive int.  Most
/// reads route to this method for efficient mapping to
/// a java.io.InputStream.  If we aren't overriding this
/// method, then route back to read() for the subclass
/// to handle.
/// </summary>
Read a byte using a Java primitive int.  Most
reads route to this method for efficient mapping to
a java.io.InputStream.  If we aren't overriding this
method, then route back to read() for the subclass
to handle.
Read a byte using a Java primitive int . Most reads route to this method for efficient mapping to a java . io . InputStream . If we aren ' t overriding this method then route back to read () for the subclass to handle .
public virtual int r()
    {
      Long n = read();
      if (n == null) return -1;
      return n.intValue();
    }
public virtual int r ( ) { Long n = read ( ) ; if ( n == null ) return - 1 ; return n . intValue ( ) ; }
Read a byte using a Java primitive int.
Read a byte using a Java primitive int .