If this API is supposed to match Node.js, this should be `fs.read(fd, buffer, 6, 22);`