Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

70
Visualizações
Is it possible to create a non-length prefixed Buffer in Javascript?

Recently I've been working on various Javascript projects that involved using the Buffer class for binary data management. One issue that I had was about having to allocate a fixed-length buffer instead of automatically expand it by writing binary data on it (like in C# MemoryStream for example) because I'm using variable-length integers and as a consequence, I can't know their final byte-length. As a temporary solution to this problem, I temporarily used to create a new Buffer instance for each byte and concatenate it to the global one, doing so resulted in really bad performance when handling multiple clients concurrently. Is there any other smarter and more performant solution that I can adapt to solve this issue?

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda