core/src/main/java/org/jruby/RubyRandom.java
private static int[] bigEndianToInts(byte[] buf, int initKeyLen) {
            int[] initKey = new int[initKeyLen];
            for (int idx = 0; idx < initKey.length; ++idx) {
                initKey[idx] = getIntBigIntegerBuffer(buf, idx);
            }
            return initKey;
        }
// big endian of bytes to reversed ints
big endian of bytes to reversed ints
big endian of bytes to reversed ints
private static int[] bigEndianToInts(byte[] buf, int initKeyLen) {
            int[] initKey = new int[initKeyLen];
            for (int idx = 0; idx < initKey.length; ++idx) {
                initKey[idx] = getIntBigIntegerBuffer(buf, idx);
            }
            return initKey;
        }
private static int [ ] bigEndianToInts ( byte [ ] buf , int initKeyLen ) { int [ ] initKey = new int [ initKeyLen ] ; for ( int idx = 0 ; idx < initKey . length ; ++ idx ) { initKey [ idx ] = getIntBigIntegerBuffer ( buf , idx ) ; } return initKey ; }
big endian of bytes to reversed ints
big endian of bytes to reversed ints