Swiss Army Knife
General utility tools for Scada Minds
Static Public Member Functions | List of all members
MemoryStreamExtensions Class Reference

Methods for working with more efficiently with MemoryStreams. More...

Static Public Member Functions

static MemoryStream CloneEntireStream (this MemoryStream sourceStream)
 Take a MemoryStream and clones it from start to end. It will leave the MemoryStream at the position where it was previously. The new stream will start at position 0. More...
 

Detailed Description

Methods for working with more efficiently with MemoryStreams.

Member Function Documentation

◆ CloneEntireStream()

static MemoryStream CloneEntireStream ( this MemoryStream  sourceStream)
inlinestatic

Take a MemoryStream and clones it from start to end. It will leave the MemoryStream at the position where it was previously. The new stream will start at position 0.

Returns
A copy of the entire sourceStream .

The documentation for this class was generated from the following file: