We could add a helper method in the generated struct classes which lets a client reinterpret a memory segment representing an array of structs, when given an element count.
We already have a method called ofAddress which can be used to reinterpret a segment holding a single struct. We should consider renaming this method to 'reinterpret' as well, to reflect the latest updates to the FFM API.
We already have a method called ofAddress which can be used to reinterpret a segment holding a single struct. We should consider renaming this method to 'reinterpret' as well, to reflect the latest updates to the FFM API.