You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sink/Source interfaces declare several member functions that could be easily implemented as extension functions. For example, Source::peek, Source::transferTo, and Sink::transferFrom.
Having such functions implemented as member functions does not provide any obvious benefits but requires us to write similar implementations several times. It would be nice to have a single implementation instead.