O'Reilly logo

Sams Teach Yourself Node.js in 24 Hours by George Ornbo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Hour 19. The Buffer Module

What You’ll Learn in This Hour:

• What binary data is

• What character encoding is

• How to work with binary data

• How to work with buffers

A Primer on Binary Data

To understand the Buffer module, you need to understand binary data. If you already have a good handle on this, you can skip this section. If not, read on! A binary digit can be one of two values: 0 or 1. This is also known as a bit (short for binary digit), and this is the atomic unit of data in computer systems. The values 0 and 1 are the simplest way of representing information as the values can only ever be one of two things—0 or 1. This can also be interpreted as true or false and on or off. While this may be considered simple and trivial, using more ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required