public long readLong(String fieldName) throws IOException {
   int pos = readPosition(fieldName, FieldType.LONG);
   return in.readLong(pos);
 }