public int writeFieldId(FieldId fieldId){
  int off=data.position();
  writeUnsignedShort(fieldId.declaringClassIndex);
  writeUnsignedShort(fieldId.typeIndex);
  writeInt(fieldId.nameIndex);
  return off;
}

public int writeFieldId ( FieldId fieldId ) { int off = data . position ( ) ; writeUnsignedShort ( fieldId . declaringClassIndex ) ; writeUnsignedShort ( fieldId . typeIndex ) ; writeInt ( fieldId . nameIndex ) ; return off ; }
write fieldid item into current section .
