Re:How to Use the Foreign Function API in Java 22 to Call C ...
by renewiltord on Wednesday May 08, 2024 @03:03PM
(#40301749)
Embarrassing of me to give you wrong answer. I went and checked my old code and:
new FileOutputStream(tmpFile)
Apologies.
Stackoverflow is full of "copy it into a temp file" solutions. ChatGPT keeps saying "sorry" but still insists on copying it into a temp file :)
[0] - https://docs.oracle.com/en%2Fjava%2Fjavase%2F22%2Fdocs%2Fapi...