I wanted to manipulate the image by playing with the pixel bits. So, I wanted to covert the pixels I grabbed from PixelGrabber. The argb value were in bytes. Now I want to convert array of bytes into bits and manipulate it. And then convert back to bytes array.

For Example: 
-1057365 into 11101111 11011101 10101011 11111111 and 
11101111 11011101 10101011 11111111 into -1057365

Anyone know there's any efficient way to converting between them? Or java has method implemented for it and I don't know.

Thx for helping.