rest method

dynamic rest()

Return the remaining contents of the stream

Implementation

dynamic rest() => peek(contents.length - index);