CHAPTER 8

image

Binary Data

Up to this point, we have only studied applications that process textual data. Often, however, applications must work with binary data rather than text in order to save space and time. Additionally, some application data, such as images and audio, are inherently binary. As web applications increase in sophistication, the use of binary data is becoming more popular, even in the browser. Thus, this chapter’s focus shifts to applications that handle pure binary data. It examines what binary data is and how it is handled in the JavaScript standard, as well as features unique to Node.

An Overview of Binary Data

So what exactly ...

Get Pro Node.js for Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.