ImageResizer  3.4.0
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
Static Public Member Functions | List of all members
ImageResizer.Util.StreamUtils Class Reference

Static Public Member Functions

static MemoryStream CopyStream (Stream s)
 
static void CopyTo (Stream src, Stream dest)
 Copies a read stream to a write stream. More...
 
static byte[] CopyToBytes (Stream src)
 Copies the remaining portion of the specified stream to a byte array of exact size. More...
 

Detailed Description

Definition at line 7 of file StreamUtils.cs.

Member Function Documentation

static void ImageResizer.Util.StreamUtils.CopyTo ( Stream  src,
Stream  dest 
)
inlinestatic

Copies a read stream to a write stream.

Parameters
src
dest

Definition at line 19 of file StreamUtils.cs.

19  {
20  StreamExtensions.CopyToStream(src, dest);
21  }
static byte [] ImageResizer.Util.StreamUtils.CopyToBytes ( Stream  src)
inlinestatic

Copies the remaining portion of the specified stream to a byte array of exact size.

Parameters
src
Returns

Definition at line 28 of file StreamUtils.cs.

28  {
29  return StreamExtensions.CopyToBytes(src);
30  }

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