direct buffer write when string or base64 text is stored.
compile a second module to work asm.js on Firefox