I want to write a ghidra script in python (jython) that exports to a .bin file the binary code of all the functions in the current program.
I came up with this code b