src/java/org/apache/cassandra/dht/AbstractByteOrderedPartitioner.java
/**
     * Convert a byte array containing the most significant of 'sigbytes' bytes
     * representing a big-endian magnitude into a BigInteger.
     */
Convert a byte array containing the most significant of 'sigbytes' bytes
representing a big-endian magnitude into a BigInteger.
Convert a byte array containing the most significant of ' sigbytes ' bytes representing a big - endian magnitude into a BigInteger .
private BigInteger bigForBytes(ByteBuffer bytes, int sigbytes)
    {
        byte[] b = new byte[sigbytes];
        Arrays.fill(b, (byte) 0); 
        ByteBufferUtil.arrayCopy(bytes, bytes.position(), b, 0, bytes.remaining());
        return new BigInteger(1, b);
    }
private BigInteger bigForBytes ( ByteBuffer bytes , int sigbytes ) { byte [ ] b = new byte [ sigbytes ] ; Arrays . fill ( b , ( byte ) 0 ) ; ByteBufferUtil . arrayCopy ( bytes , bytes . position ( ) , b , 0 , bytes . remaining ( ) ) ; return new BigInteger ( 1 , b ) ; }
Convert a byte array containing the most significant of 'sigbytes' bytes
 representing a big-endian magnitude into a BigInteger.
Convert a byte array containing the most significant of ' sigbytes ' bytes representing a big - endian magnitude into a BigInteger .
// append zeros