C# Class Recurity.Swf.AVM1.ActionConstantPool

Blitzableiter ActionConstantPool represents the Adobe AVM1 ActionConstantPool
Inheritance: AbstractAction
Show file Open project: rtezli/Blitzableiter

Protected Properties

Property Type Description
_constants List
_numConstants System.UInt16

Public Methods

Method Description
ActionConstantPool ( ) : System

Creates a new constant pool, and replaces the old constant pool if one already exists

ActionConstantPool ( List list ) : System

Creates a new constant pool, and replaces the old constant pool if one already exists

ToString ( ) : string

Converts the action to a string

Protected Methods

Method Description
Parse ( System sourceStream, byte sourceVersion ) : void

ParseFrom ( ) : bool

Parses the action from a string array

Render ( System outputStream ) : ulong

Method Details

ActionConstantPool() public method

Creates a new constant pool, and replaces the old constant pool if one already exists
public ActionConstantPool ( ) : System
return System

ActionConstantPool() public method

Creates a new constant pool, and replaces the old constant pool if one already exists
public ActionConstantPool ( List list ) : System
list List The list of constants
return System

Parse() protected method

protected Parse ( System sourceStream, byte sourceVersion ) : void
sourceStream System
sourceVersion byte
return void

ParseFrom() protected method

Parses the action from a string array
protected ParseFrom ( ) : bool
return bool

Render() protected method

protected Render ( System outputStream ) : ulong
outputStream System
return ulong

ToString() public method

Converts the action to a string
public ToString ( ) : string
return string

Property Details

_constants protected property

protected List _constants
return List

_numConstants protected property

protected UInt16,System _numConstants
return System.UInt16