@Override public int read(char ch[],int offset,int length) throws IOException {
  if (length > fBuffer.length) {
    length=fBuffer.length;
  }
  int count=fInputStream.read(fBuffer,0,length);
  for (int i=0; i < count; ++i) {
    ch[offset + i]=(char)(fBuffer[i] & 0xff);
  }
  return count;
}

@ Override public int read ( char ch [ ] , int offset , int length ) throws IOException { if ( length > fBuffer . length ) { length = fBuffer . length ; } int count = fInputStream . read ( fBuffer , 0 , length ) ; for ( int i = 0 ; i < count ; ++ i ) { ch [ offset + i ] = ( char ) ( fBuffer [ i ] & 0xff ) ; } return count ; }
read characters into a portion of an array . this method will block until some input is available , an i / o error occurs , or the end of the stream is reached .
