C# Class Recurity.Swf.SwfFile

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

Public Methods

Method 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

Method 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 method

public GetCharacterByID ( UInt16 charID ) : AbstractTagHandler
charID System.UInt16
return Recurity.Swf.TagHandler.AbstractTagHandler

Read() public method

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

SwfFile() public method

A uncompressed Swf file implementing ISwfElement, extending BaseFile
public SwfFile ( ) : System
return System

Verify() public method

public Verify ( ) : bool
return bool

Write() public method

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
return void

this() public method

public this ( int i ) : AbstractTagHandler
i int
return Recurity.Swf.TagHandler.AbstractTagHandler