public int writeDebugInfoItem(DebugInfoItem debugInfoItem){
  int off=data.position();
  writeUleb128(debugInfoItem.lineStart);
  int parametersSize=debugInfoItem.parameterNames.length;
  writeUleb128(parametersSize);
  for (int i=0; i < parametersSize; ++i) {
    int parameterName=debugInfoItem.parameterNames[i];
    writeUleb128p1(parameterName);
  }
  write(debugInfoItem.infoSTM);
  return off;
}

public int writeDebugInfoItem ( DebugInfoItem debugInfoItem ) { int off = data . position ( ) ; writeUleb128 ( debugInfoItem . lineStart ) ; int parametersSize = debugInfoItem . parameterNames . length ; writeUleb128 ( parametersSize ) ; for ( int i = 0 ; i < parametersSize ; ++ i ) { int parameterName = debugInfoItem . parameterNames [ i ] ; writeUleb128p1 ( parameterName ) ; } write ( debugInfoItem . infoSTM ) ; return off ; }
write debuginfo item into current section .
