We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 24a5927 commit 9233effCopy full SHA for 9233eff
1 file changed
src/edu/cmu/graphchi/datablocks/IntConverter.java
@@ -26,9 +26,10 @@ public Integer getValue(byte[] array) {
26
}
27
28
public void setValue(byte[] array, Integer x) {
29
- array[3] = (byte) ((x >>> 24) & 0xff);
30
- array[2] = (byte) ((x >>> 16) & 0xff);
31
- array[1] = (byte) ((x >>> 8) & 0xff);
32
array[0] = (byte) ((x >>> 0) & 0xff);
+ array[1] = (byte) ((x >>> 8) & 0xff);
+ array[2] = (byte) ((x >>> 16) & 0xff);
+ array[3] = (byte) ((x >>> 24) & 0xff);
33
+
34
35
0 commit comments