Why is the binary output not equal when compiling again?

ANOTHER UPDATE: Since 2015 the compiler team has been making an effort to get sources of non-determinism out of the compiler toolchain, so that identical inputs really do produce identical outputs. See the “Concept-determinism” tag on the Roslyn github for more details. UPDATE: This question was the subject of my blog in May 2012. Thanks … Read more

How to parse into base64 string the binary image from response?

I think part of the problem you’re hitting is that jQuery.ajax does not natively support XHR2 blob/arraybuffer types which can nicely handle binary data (see Reading binary files using jQuery.ajax). If you use a native XHR object with xhr.responseType=”arraybuffer”, then read the response array andĀ convert it to Base64, you’ll get what you want. Here’s a … Read more