Contact us

Applies to: Customer's Canvas On-Premises; Design Atoms .NET 7.4

Skip to main content

Class StreamExtensionMethods

Namespace: Aurigma.DesignAtoms.ExtensionMethods

Assembly: Aurigma.DesignAtoms.dll

Syntax
public static 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

Methods​

ToBase64​

public static string ToBase64(this Stream source)

Parameters​

TypeNameDescription
System.IO.Streamsource

Returns​

System.String

EnsureStreamIsSeekable​

public static Stream EnsureStreamIsSeekable(this Stream source)

Parameters​

TypeNameDescription
System.IO.Streamsource

Returns​

System.IO.Stream

EnsureStreamAtZeroPosition​

public static Stream EnsureStreamAtZeroPosition(this Stream stream)

Parameters​

TypeNameDescription
System.IO.Streamstream

Returns​

System.IO.Stream

Was this page helpful?