Class StreamExtensionMethods
Inheritance
System.Object
StreamExtensionMethods
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Aurigma.DesignAtoms.ExtensionMethods
Assembly: Aurigma.DesignAtoms.dll
Syntax
public static class StreamExtensionMethods
Methods
EnsureStreamAtZeroPosition(Stream)
Declaration
public static Stream EnsureStreamAtZeroPosition(this Stream stream)
Parameters
| Type | Name | Description |
|---|---|---|
| System.IO.Stream | stream |
Returns
| Type | Description |
|---|---|
| System.IO.Stream |
EnsureStreamIsSeekable(Stream)
Declaration
public static Stream EnsureStreamIsSeekable(this Stream source)
Parameters
| Type | Name | Description |
|---|---|---|
| System.IO.Stream | source |
Returns
| Type | Description |
|---|---|
| System.IO.Stream |
ToBase64(Stream)
Declaration
public static string ToBase64(this Stream source)
Parameters
| Type | Name | Description |
|---|---|---|
| System.IO.Stream | source |
Returns
| Type | Description |
|---|---|
| System.String |