Skip to content
Advertisement

ByteBuffer to int array (each byte)

Related to question byte array to Int Array, however I would like to convert each byte to an int, not each 4-bytes.

Is there a better/cleaner way than this:

JavaScript

Advertisement

Answer

I’d probably prefer

JavaScript
User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement