How does node read a file and send it to the client through arraybuffer?

  node.js, question

How does node read a file and send it to the client through arraybuffer?
Can node’s buffer object be returned directly as arraybuffer?

No, the HTTP protocol does not have this type of data interaction.

JS in HTML5 can get data through ajax and specify the data format.