StreamUtils.CopyToStream Method

Namespace:
Weavy.Core.Imaging
Assembly:
Weavy.Core.dll

CopyToStream(Stream, Stream, bool, int)

Copies this stream into the given stream

public static void CopyToStream(Stream src, Stream dest, bool entireStream, int chunkSize)

Parameters

src
System.IO.Stream
dest
System.IO.Stream

The stream to write to

entireStream
bool

True to copy entire stream if seeakable, false to only copy remaining data

chunkSize
int

True to copy entire stream if seeakable, false to only copy remaining data