The answer
Strings store text data, while Buffers store raw binary data as bytes.
Strings store text data, while Buffers store raw binary data as bytes.
Buffers are memory structures used to store and manipulate raw binary data.
Buffers allow Node.js to efficiently process files, media, network packets, and other binary data.
Buffers are used in file systems, networking, Streams, media processing, encryption, and compression.
Browse all our FAQs or reach out to our support team
Your learning library
Find your next course. Build something great.