Using MemoryAccess with structured MemoryLayout

Markus KARG markus at
Thu Feb 25 16:01:35 UTC 2021

On Windows, many API function have C struct as parameters.

It is rather straightforward to set up a structured MemoryLayout.

In case I want to easily poke bytes into that struct, I'd like to use

Unfortunately, there seem to be no EASY / SIMPLE way to write:


.or I missed to see it in the JavaDocs.

Is this possible? If yes, how? If not, why not?



More information about the panama-dev mailing list