@Deprecated public static int offset(Schema sch,String fldName){
  int pos=0;
  for (  String fldname : sch.fields()) {
    if (fldName.equals(fldname))     break;
    pos+=Page.maxSize(sch.type(fldname));
  }
  return pos;
}

@ Deprecated public static int offset ( Schema sch , String fldName ) { int pos = 0 ; for ( String fldname : sch . fields ( ) ) { if ( fldName . equals ( fldname ) ) break ; pos += Page . maxSize ( sch . type ( fldname ) ) ; } return pos ; }
returns the offset of a specified field within a record .
