#Can anybody explain what std.io.Reader.read function does?
1 messages · Page 1 of 1 (latest)
ohh i think i get it now when i use the reader function on a File from std.io.getStdIn it gives back a Reader and the context is the File's context
yea
And the the read functions makes a read and puts it into your buffer and returns how much you actually read
where is the buffer located in exactly?
Yours to choose
i am guessing the readFn function is located somewhere else in the library depending on what i am reading from