I think your best bet in this case is to write you...
# getting-started
d
I think your best bet in this case is to write your own, Readers don’t seem to have a currentPosition(), so you probably will need to work directly with the underlying file stream, and you wouldn’t be able to calculate the total number of lines in a file without reading through it once, first. You could use the existing implementation as a guide though.