C# 클래스 Serenity.Web.SwfInfo

Copyright (c)2006 by Koistya `Navin - http://navin.biz 1.0.0 Koistya `Navin [email protected]

This is a small utility class which is used to determine the basic data from an SWF file header.

파일 보기 프로젝트 열기: volkanceylan/Serenity

공개 메소드들

메소드 설명
LoadSwf ( Stream stream ) : void

Loads SWF file from a stream and checks it. Warning: As it uses a BinaryReader, it closes the stream afterwards.

SwfInfo ( Stream stream ) : System

Creates a SwfInfo object for specified stream.

SwfInfo ( string filename ) : System

Creates a SwfInfo object for specified file.

비공개 메소드들

메소드 설명
ReadAllBytesFromStream ( Stream stream, byte buffer ) : int

Reads all bytes from a stream and returns number of bytes read.

메소드 상세

LoadSwf() 공개 메소드

Loads SWF file from a stream and checks it. Warning: As it uses a BinaryReader, it closes the stream afterwards.
public LoadSwf ( Stream stream ) : void
stream Stream /// Stream.
리턴 void

SwfInfo() 공개 메소드

Creates a SwfInfo object for specified stream.
public SwfInfo ( Stream stream ) : System
stream Stream /// Stream (required). This stream is closed by SwfInfo object!
리턴 System

SwfInfo() 공개 메소드

Creates a SwfInfo object for specified file.
public SwfInfo ( string filename ) : System
filename string /// Filename (required).
리턴 System