Method | Description | |
---|---|---|
CopyToMemoryStream ( Stream s, bool entireStream, int chunkSize ) : |
Copies the current stream into a new MemoryStream instance.
|
|
CopyToStream ( Stream src, Stream dest, bool entireStream, int chunkSize ) : void |
Copies this stream into the given stream
|
public static CopyToMemoryStream ( Stream s, bool entireStream, int chunkSize ) : |
||
s | Stream | |
entireStream | bool | True to copy entire stream if seeakable, false to only copy remaining data |
chunkSize | int | The buffer size to use (in bytes) if a buffer is required. Default: 4KiB |
return |
public static CopyToStream ( Stream src, Stream dest, bool entireStream, int chunkSize ) : void | ||
src | Stream | |
dest | 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 |
return | void |