Getting the 0 and 1 bit information of a file uploaded using JavaScript

I am trying to extract the bit 0 an 1 equivalent of a file uploaded by a user using JavaScript. For example if a user uploaded an image can I get the equivalent of that file down to a single bit? And can I later change those bits back to the original file?