Read data from file descriptor into buffer
File descriptor
Buffer to read into
Number of bytes actually read
Error if read fails
Read data from file descriptor into buffer