public void read(IInputReader dataIndexReader) throws IOException {
  for (  Object[] dataRecord : data) {
switch ((Character)dataRecord[1]) {
case 'i':
      dataRecord[2]=dataIndexReader.readInt();
    break;
case 'f':
  dataRecord[2]=dataIndexReader.readFloat();
break;
case 'l':
dataRecord[2]=dataIndexReader.readLong();
break;
case 'b':
dataRecord[2]=(byte)dataIndexReader.read();
break;
case 'B':
dataRecord[2]=dataIndexReader.readByteByteInt();
break;
case 'c':
dataRecord[2]=dataIndexReader.readChar();
break;
}
}
}

public void read ( IInputReader dataIndexReader ) throws IOException { for ( Object [ ] dataRecord : data ) { switch ( ( Character ) dataRecord [ 1 ] ) { case 'i' : dataRecord [ 2 ] = dataIndexReader . readInt ( ) ; break ; case 'f' : dataRecord [ 2 ] = dataIndexReader . readFloat ( ) ; break ; case 'l' : dataRecord [ 2 ] = dataIndexReader . readLong ( ) ; break ; case 'b' : dataRecord [ 2 ] = ( byte ) dataIndexReader . read ( ) ; break ; case 'B' : dataRecord [ 2 ] = dataIndexReader . readByteByteInt ( ) ; break ; case 'c' : dataRecord [ 2 ] = dataIndexReader . readChar ( ) ; break ; } } }
read the fixed part of the reads block
