@Override public int read() throws IOException {
  int b0=fInputStream.read();
  if (b0 >= 0x80) {
    throw new MalformedByteSequenceException(fFormatter,fLocale,XMLMessageFormatter.XML_DOMAIN,"InvalidASCII",new Object[]{Integer.toString(b0)});
  }
  return b0;
}

@ Override public int read ( ) throws IOException { int b0 = fInputStream . read ( ) ; if ( b0 >= 0x80 ) { throw new MalformedByteSequenceException ( fFormatter , fLocale , XMLMessageFormatter . XML_DOMAIN , "InvalidASCII" , new Object [ ] { Integer . toString ( b0 ) } ) ; } return b0 ; }
read a single character . this method will block until a character is available , an i / o error occurs , or the end of the stream is reached . < p / > < p > subclasses that intend to support efficient single - character input should override this method .
