How to use the prototype function from jszip

Find comprehensive JavaScript jszip.prototype code examples handpicked from public code repositorys.

4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
// if the data is a base64 string, we decode it before checking the encoding !
if (this.options.base64) {
    result = base64.decode(result);
}
if (asUTF8 && this.options.binary) {
    // JSZip.prototype.utf8decode supports arrays as input
    // skip to array => string step, utf8decode will do it.
    result = out.utf8decode(result);
}
else {
fork icon0
star icon0
watch icon1