byte b2 = (byte) (b << 1); b2 |= ((b & 0x100) >>> 8); return b2;
int b2 =  (b << 1); b2 |= ((b2 & 0x100) >>> 8); return (byte) b2;
    public static byte rotateAnticlockwise(byte b) {	byte b2 = (byte) (b << 1);	b2 |= ((b & 0x100) >>> 8);	return b2;    }