Java Mine
|
public static int toInt32bb(byte[] bytes, int index) throws Exception { byte[] array = Arrays.copyOfRange(bytes, index, index + 4); ByteBuffer b = ByteBuffer.wrap(array); b.order(ByteOrder.LITTLE_ENDIAN); return b.getInt();
Copyright (c) 2022. All rights reserved.
|
What do you think about this topic? Send feedback!
|