C# Класс PdfRpt.Core.Helper.StreamHelper

Embedded resources helper class.
Показать файл Открыть проект

Открытые методы

Метод Описание
GetResourceByName ( string fileName ) : byte[]

Reads an embedded resource

ReopenForReading ( this stream ) : Stream

Tries to Reopen the stream for reading.

ReopenForWriting ( this stream ) : Stream

Tries to Reopen the stream for writing.

StreamToBytes ( this input ) : byte[]

Converts StreamToBytes

Описание методов

GetResourceByName() публичный статический Метод

Reads an embedded resource
public static GetResourceByName ( string fileName ) : byte[]
fileName string embedded resource file
Результат byte[]

ReopenForReading() публичный статический Метод

Tries to Reopen the stream for reading.
public static ReopenForReading ( this stream ) : Stream
stream this input stream
Результат Stream

ReopenForWriting() публичный статический Метод

Tries to Reopen the stream for writing.
public static ReopenForWriting ( this stream ) : Stream
stream this input stream
Результат Stream

StreamToBytes() публичный статический Метод

Converts StreamToBytes
public static StreamToBytes ( this input ) : byte[]
input this stream
Результат byte[]