Using Foreign Function and Memory API with bit offsets instead of BitSet
I would like to define a MemoryLayout from the Panama API in JDK 22 with bit offsets. ValueLayouts like ValueLayout.JAVA_BYTE seem to only be usable with a byte granularity, which doesn’t fit my use case.
Using Foreign Function and Memory API with bit offsets instead of BitSet
I would like to define a MemoryLayout from the Panama API in JDK 22 with bit offsets. ValueLayouts like ValueLayout.JAVA_BYTE seem to only be usable with a byte granularity, which doesn’t fit my use case.