[foreign] RFR 8218153: Read/Write of Value layout should honor declared endianness
Henry Jen
henry.jen at oracle.com
Wed Feb 27 03:01:05 UTC 2019
On Feb 26, 2019, at 3:49 PM, John Rose <john.r.rose at oracle.com> wrote:
>
> On Feb 26, 2019, at 3:19 PM, Henry Jen <henry.jen at oracle.com> wrote:
>>
>> Also added a test and localizeLayout() for group layouts, and a Util method when we need to convert no-endian to explicit endianness.
>
> If localizeLayout is useful as a public API point it should be on the interface.
>
> If not, it should be package-private or static in Util.
>
> In the present form, it seems like implementation is poking irregularly out of the API.
>
I was considering this as well, I think it is useful, and should be probably part of Layout. Current implementation is simply try to limit exposure because Util is internal.
Cheers,
Henry
More information about the panama-dev
mailing list