On 02/18/2015 02:32 PM, David M. Lloyd wrote:
> It's an awful lot of pain to avoid what IMO should be an obvious addition:
> 
> (Short|Character|Integer|Long).(get|put)(Little|Big)EndianBytes([value,] 
> byte[] b, int offs)
> 
> This could (it seems to me) be easily intrinsified, is hugely useful 
> both within and outside of the JDK,

Sure, I get that, but it's a new API.  Once I've finished this work,
implementing such an API would be trivial.  I have no objection to it
in principle, but making ByteBuffer.map() operations work well is
worth doing too.

Andrew.

Reply via email to