SourceBuffer extension

on

Methods

buffered() RealBufferedSource
discard([Duration timeout = const Duration(milliseconds: 100)]) Future<bool>
Attempts to exhaust this, returning true if successful. This is useful when reading a complete source is helpful, such as when doing so completes a cache body or frees a socket connection for reuse.
skipAll() Future<void>
Reads until this is exhausted.