Declaration
public static Stream CreateFromWriter(
Action<Stream> writer
)
Summary
Runs the specified process in a new thread and allows it to generate data by writing it to a stream, while
returning a stream that can be used to consume the data by reading from it.
Parameters
Action<Stream> | writer |
An action that generates data and writes it to a stream. |