copyStream

Copies the content of a Stream to another one.

The position in the source is preserved.

void
copyStream
@nogc

Parameters

source
Type: Stream

The Stream instance whose content will be copied.

target
Type: Stream

The Stream instance whose content will be replaced.

Meta