Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

139
Vistas
Followup Browser/Javascript -- How to match Compression in Browser/Javascript with Server/Php for Decompresssion

This is a followup to the question

using php-gzdeflate and pako-js

One of the answers indicated that the lines of code . . const compress = str => Buffer.from(pako.deflateRaw(str)).toString('base64'); console.log(compress('asdfasdfasdfasdf')); //SyxOSUtEwgA= . .

might work, provided the "Buffer" could be implemented. The author of the answer didn't say exactly how to generate the Buffer for the Browser/Javascript.

I managed to generate a javascript file "safe-buffer.js" based on the safe-buffer nodejs module, but I have no idea as to how to actually invoke/init the "Buffer" object to be able to test with it.

If someone has information or insight into how this works within the Browser/Javascript, this would help a number of people trying to solve this issue.

thanks

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda