nextRound
TechnologiesCoding ProblemsBookmarksLearning Paths
nextRound
TechnologiesCoding ProblemsBookmarksLearning Paths
nextRound

AI-powered interview preparation platform. Practice with curated questions, mock interviews, and personalized learning paths to crack your dream tech interview.

Quick Links

  • Technologies
  • Saved Questions
  • Pricing

Company

  • About Us
  • Contact Us

Legal

  • Privacy Policy
  • Terms of Use

© 2026 nextRound. All rights reserved.

TOPIC OVERVIEW

nodejs/Buffers

Work with raw binary data when strings and normal JavaScript objects are not enough.

12 QuestionsIntermediateHigh Priority ~9 min read

A Buffer is a Node.js data structure designed for working with raw binary data. Unlike normal JavaScript strings, buffers store bytes and are commonly used when dealing with files, network connections, streams, and other data that does not naturally exist as text.

You will often see buffers when reading a file, receiving data over a socket, or processing an uploaded image or video. Understanding how buffers represent bytes and how encoding converts between bytes and text helps you work with Node.js I/O correctly.

What you'll walk away knowing

What a Buffer represents in Node.js
How to create and manipulate buffers
How encoding and decoding work
Where buffers are used in file and network operations
1What are buffers?Intermediate2Why do we need buffers?Intermediate3What is encoding and decoding buffers?Intermediate4Can you explain what a 'view' is in the context of buffers in Node.js?Intermediate5What are the commonly used encoding types when working with buffers in Node.js?Beginner6What is the difference between buffers and streamsIntermediate
All Topics
1
Basics
Event Loop
Modules
2
Buffers
Streams
Events
File Operations
Time functions
3
Worker Threads
Threads
Clusters
4
Performance Optimisation
Websockets
Crypto
Sharethis topic

Share via WhatsApp, X, Facebook, LinkedIn or copy link. Open Graph preview enabled.