Hi,

what do you thing about adding helper methods for this kind of VarHandle?

It would be nice to have something like

Long.getFrom[LE/BE](byte[] arr, int index)          // LE/BE -> endianity
Long.setTo[LE/BE](long val, byte[] arr, int index)

or

Arrays.getLongFrom[LE/BE](byte[] arr, int index)
Arrays.setLongTo[LE/BE](long val, byte[] arr, int index)


Jaroslav

Reply via email to