C# Класс Recurity.Swf.SwfFile

A uncompressed Swf file implementing ISwfElement, extending BaseFile
Наследование: Interfaces.ISwfElement
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
GetCharacterByID ( UInt16 charID ) : AbstractTagHandler

Read ( Stream input ) : Stream

Parses a Swf file tag by tag

SwfFile ( ) : System

A uncompressed Swf file implementing ISwfElement, extending BaseFile

Verify ( ) : bool

Write ( Stream output ) : void

Writes the contents of this SwfFile instance to a stream. Compression is used if configured.

this ( int i ) : AbstractTagHandler

Приватные методы

Метод Описание
FixFileAttributes ( ) : void

Create proper file attributes for this Swf file

FixIncorrectStreamSize ( Stream s, long l ) : void

Fixes the incorrect stream size by changing the length of a stream and dumping all data that do not fit into it.

WriteContent ( Stream output ) : ulong

Writes the content of the Swf file into an output stream (no header)

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

GetCharacterByID() публичный Метод

public GetCharacterByID ( UInt16 charID ) : AbstractTagHandler
charID System.UInt16
Результат Recurity.Swf.TagHandler.AbstractTagHandler

Read() публичный Метод

Parses a Swf file tag by tag
public Read ( Stream input ) : Stream
input Stream The Swf file as stream
Результат Stream

SwfFile() публичный Метод

A uncompressed Swf file implementing ISwfElement, extending BaseFile
public SwfFile ( ) : System
Результат System

Verify() публичный Метод

public Verify ( ) : bool
Результат bool

Write() публичный Метод

Writes the contents of this SwfFile instance to a stream. Compression is used if configured.
public Write ( Stream output ) : void
output Stream The destination stream to write to
Результат void

this() публичный Метод

public this ( int i ) : AbstractTagHandler
i int
Результат Recurity.Swf.TagHandler.AbstractTagHandler