Kuschelbauch : the QR code isn't working like that. The best crossplatform way to use it is by encoding a string into the code. You can theoretically encode some binary data, but the place of every pixel on the graphic won't match anything of that data, since some of those pixels are there to provide some redundancy mechanism.
Furthermore, in the state of the browsers today, don't trust the browser or the Javascript VM to not mangle your binary data. Strings are safe, binary array aren't.