reader
Takes a snapshot of the current Xof's state and produces a Reader.
The Reader remains open and will continue to produce new output until Reader.close is explicitly called.
The Xof can continue to be updated with new data or read from again as it is unaffected by Reader.reads.
Parameters
resetXof
if true, also resets the Xof to its initial state after taking the snapshot.