Enum PipeMode
enum PipeMode
: int { ... }
Enum members
Name | Description |
---|---|
concurrent
|
Uses a task to concurrently read and write.
This mode maximizes throughput at the expense of setting up a task and associated sycnronization. |
sequential
|
Sequentially reads into a buffer and writes it out to the sink.
This mode reads and writes to the same buffer in a ping-pong fashion. The memory overhead is low, but if the source does not support read-ahead buffering, or the sink does not have an internal buffer that is drained asynchronously, the total throghput will be reduced. |