C# 클래스 PdfRpt.Core.Helper.StreamHelper

Embedded resources helper class.
파일 보기 프로젝트 열기: VahidN/PdfReport

공개 메소드들

메소드 설명
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[]