Reading binary data
Henry Jen
henry.jen at oracle.com
Wed Oct 30 15:03:24 UTC 2019
Depending on which branch are you using, in foreign branch, Pointer is the only API available. However, MemorySegment/MemoryAddress API in foreign-memaccess,foreign-abi is the direction we are pursuing.
Theoretically, it’s possible to bring Pointer API on top of that, but we are experimenting/evaluating if that’s worthwhile or MemoryAccess API is enough.
Cheers,
Henry
> On Oct 30, 2019, at 6:47 AM, Ty Young <youngty1997 at gmail.com> wrote:
>
> I've stumbled across a function that returns a pointer to memory which contains data(AKA binary data) and a size for it. I'm assuming(correct me if I'm wrong here) that accessing this data requires use of lower level foreign memory API however the API seems to have changed since the presentation given a few months back. What is the correct way currently for accessing this data?
>
>
>
More information about the panama-dev
mailing list