C# Class Recurity.Swf.SwfFile

A uncompressed Swf file implementing ISwfElement, extending BaseFile
Inheritance: Interfaces.ISwfElement
Afficher le fichier Open project: rtezli/Blitzableiter Class Usage Examples

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
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)

Method Details

GetCharacterByID() public méthode

public GetCharacterByID ( UInt16 charID ) : AbstractTagHandler
charID System.UInt16
Résultat Recurity.Swf.TagHandler.AbstractTagHandler

Read() public méthode

Parses a Swf file tag by tag
public Read ( Stream input ) : Stream
input Stream The Swf file as stream
Résultat Stream

SwfFile() public méthode

A uncompressed Swf file implementing ISwfElement, extending BaseFile
public SwfFile ( ) : System
Résultat System

Verify() public méthode

public Verify ( ) : bool
Résultat bool

Write() public méthode

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
Résultat void

this() public méthode

public this ( int i ) : AbstractTagHandler
i int
Résultat Recurity.Swf.TagHandler.AbstractTagHandler