• +91 9723535972
  • info@interviewmaterial.com

NodeJS Interview Questions and Answers

Question - Why is a buffer class used in Node.js?

Answer - A buffer class is primarily used as a way to store data in Node.js. This can be considered as a similar implementation of arrays or lists. Here, the class refers to a raw memory location that is not present in the V8 heap structure. The buffer class is global, thereby extending its usage across all the modules of an application.

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners