public static boolean[] byte2BooleanArray(byte input){
	    boolean[] result = new boolean[8];
		for(int i = 0; i < 8; i++) {
	    	result[i] = (input & 128) == 0 ? false : true;
	    	input <<= 1;
	    }
		return result;
	}