public int writeMethodId(MethodId methodId){
  int off=data.position();
  writeUnsignedShort(methodId.declaringClassIndex);
  writeUnsignedShort(methodId.protoIndex);
  writeInt(methodId.nameIndex);
  return off;
}

public int writeMethodId ( MethodId methodId ) { int off = data . position ( ) ; writeUnsignedShort ( methodId . declaringClassIndex ) ; writeUnsignedShort ( methodId . protoIndex ) ; writeInt ( methodId . nameIndex ) ; return off ; }
write methodid item into current section .
