Photo by Yannick Pipke on Unsplash

Recently I was writing my first custom stream with NodeJS, and when reading the documentation thought I’d discovered that one of my foundational computer science understandings was incorrect.

Until then I’d taken it to heart that 1 byte === 8 bits.

Reading the documentation, I came across this section analysing the performance of a simple program they had written: