pipe method

void pipe(
  1. Sink? destination
)

Pipe all buffered chunks to destination and clear the buffer queue

Implementation

void pipe(Sink? destination) {
  if (destination == null) {
    return;
  }
  destination.add(
      joinChunks()); //_bufferedChunks.forEach((Uint8List block) => destination.add(block));
  clear();
}