Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

68
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!