public double readDouble(String fieldName) throws IOException {
   int pos = readPosition(fieldName, FieldType.DOUBLE);
   return in.readDouble(pos);
 }