question: public static final boolean isASCII ( BufferedReader buffer ) throws IOException { final char [ ] readAhead = new char [ 300 ] ; buffer . mark ( readAhead . length ) ; buffer . read ( readAhead , 0 , readAhead . length ) ; buffer . reset ( ) ; final String readAheadString = new String ( readAhead ) ; if ( readAheadString . contains ( "facet normal" ) && readAheadString . contains ( "outer loop" ) ) return true ; return false ; }
target:  Determine if a given BufferedReader appears to be in ASCII format.