private static long createLongSeed ( byte [ ] seed ) { if ( seed == null || seed . length != SEED_SIZE_BYTES ) { throw new IllegalArgumentException ( "Java RNG requires a 64-bit (8-byte) seed." ) ; } return BinaryUtils . convertBytesToLong ( seed , 0 ) ; }
Helper method to convert seed bytes into the long value required by the super class .