Please can anyone point me in the right direction for compressing a (quite long) string of text in C# and then decompress it in JavaScript?
Basically I'm encoding an image to base64 and then sending it via a websocket to JavaScript, but want to be able to reduce the size of the string before sending it.
I know of ways it can be done from C# to C#, like using gzip or quicklz, but haven't found anything for C# to JavaScript. Would appreciate any info you have. :) Thanks.