ToStream Method
Definition
- Namespace
- Cuemon
- Assemblies
- Cuemon.Core.dll
ToStream(IDecorator<byte[]>)
Converts the enclosed byte array of the specified decorator to its equivalent Stream representation.
public static Stream ToStream(this IDecorator<byte[]> decorator)
Parameters
decoratorIDecorator<byte[]>The decorator that wraps the byte array to extend.
Returns
Exceptions
- ArgumentNullException
decoratorcannot be null.