Nodejs buffer stream distinction

  node.js, question

The concept is not very clear …

buffer
A data buffer object is an object with a similar array structure, into which binary data can be written by specifying the location where writing starts and the length of the data to be written.
stream
It is a high-level package of buffer objects. The bottom layer of its operation is buffer objects. stream can be set to be readable, writable, or both. nodejs inherits the EventEmitter interface and can monitor the reading and writing processes. The specific implementation includes file stream, httpresponse, etc ~ ~