C# Class NetIde.Shell.StreamUtil

Mostrar archivo Open project: netide/netide

Public Methods

Method Description
FromByteArray ( byte byteArray ) : IStream
FromByteArray ( byte byteArray, StreamInfo streamInfo ) : IStream
FromFile ( string fileName, FileMode mode ) : IStream
FromFile ( string fileName, FileMode mode, StreamInfo streamInfo ) : IStream
FromManifestResourceStream ( Assembly assembly, string resourceName ) : IStream
FromManifestResourceStream ( Assembly assembly, string resourceName, StreamInfo streamInfo ) : IStream
FromStream ( Stream stream ) : IStream
FromStream ( Stream stream, StreamInfo streamInfo ) : IStream
ToStream ( IResource resource ) : Stream
ToStream ( IStream stream ) : Stream
ToStream ( IStream stream, bool closeBaseStream ) : Stream

Method Details

FromByteArray() public static method

public static FromByteArray ( byte byteArray ) : IStream
byteArray byte
return IStream

FromByteArray() public static method

public static FromByteArray ( byte byteArray, StreamInfo streamInfo ) : IStream
byteArray byte
streamInfo StreamInfo
return IStream

FromFile() public static method

public static FromFile ( string fileName, FileMode mode ) : IStream
fileName string
mode FileMode
return IStream

FromFile() public static method

public static FromFile ( string fileName, FileMode mode, StreamInfo streamInfo ) : IStream
fileName string
mode FileMode
streamInfo StreamInfo
return IStream

FromManifestResourceStream() public static method

public static FromManifestResourceStream ( Assembly assembly, string resourceName ) : IStream
assembly System.Reflection.Assembly
resourceName string
return IStream

FromManifestResourceStream() public static method

public static FromManifestResourceStream ( Assembly assembly, string resourceName, StreamInfo streamInfo ) : IStream
assembly System.Reflection.Assembly
resourceName string
streamInfo StreamInfo
return IStream

FromStream() public static method

public static FromStream ( Stream stream ) : IStream
stream Stream
return IStream

FromStream() public static method

public static FromStream ( Stream stream, StreamInfo streamInfo ) : IStream
stream Stream
streamInfo StreamInfo
return IStream

ToStream() public static method

public static ToStream ( IResource resource ) : Stream
resource IResource
return Stream

ToStream() public static method

public static ToStream ( IStream stream ) : Stream
stream IStream
return Stream

ToStream() public static method

public static ToStream ( IStream stream, bool closeBaseStream ) : Stream
stream IStream
closeBaseStream bool
return Stream