• Thanks! That's the kind of thing I was hoping for - I'll try it and see how I get on with it.

    Also, I'm just staring at that String.fromCharCode.apply(null,data) line... I do not understand why this works the way it does, or frankly how apply is supposed to work with return values at all (none of the js docs I've looked at seem to describe how apply() deals with the fact that he's got N return values to return, but can only return one thing - it seems like at least in the case of strings, they get concatenated, but I'd love to find real docs that describe this).

About

Avatar for DrAzzy @DrAzzy started