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

291
Views
Operator '+' cannot be applied to types 'Buffer' in node js with typescript

I get error Operator '+' cannot be applied to types 'Buffer'

when i tried to add Buffer data using + operator in node js with ts !!

Code is something like:

let  encrypted = Buffer.concat([iv, ciphertext, cipher.final()]).toString('base64');

or

let plaintext = Buffer.concat([decipher.update(ciphertext), decipher.final()], 2);

About Buffer Method

(method) Buffer.concat(list: readonly Uint8Array[], totalLength?: number): Buffer

It Returns a buffer which is the result of concatenating all the buffers in the list together.

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!