code: async function readBuffer(path) {
    const rs = createReadStream(path)
    /** @type {Buffer} */
    const res = await collect(rs, { binary: true })
    return res
  }
docs: Read a file as a buffer.
  @param {string} path The path to the file to read.