private static final long METHOD_1 ( byte [ ] b ) { long value = 0 ; for ( byte data : b ) { value <<= INT_1 ; value += data & INT_2 ; } return value ; } 

private static final long METHOD_1 ( byte [ ] b ) { long value = 0L ; if ( b != null ) { for ( byte data : b ) { value <<= INT_1 ; value += data & INT_2 ; } } return value ; } 
