read the source until it ends, and return the buffer
fuman readable stream
size of the chunks to read
read the source until it ends, and return the buffer