Iterate in each byte of a stream

A little Node JS question, hoping that someone could help me!
In Ruby we have a method that calls the given block of a stream once for each byte:
https://apidock.com/ruby/IO/each_byte

Code:
each_byte()

I'm creating a stream using the fs of Node.js:

Code:
fs.createReadStream(path)

There is a method similar to each_byte that can I use?
As per the NodeJS documentation, a ReadStream is a child of class stream.Readable, which has an event for when new data has been received, and from there you should be able to iterate over each byte of the data as needed.
@Zalerinian Thank you!
I have to take a look into this 😂

Original thread: https://forums.rpgmakerweb.com/threads/iterate-in-each-byte-of-a-stream.90838/