C# Class Recurity.Swf.AVM1.ActionDefineFunction

Blitzableiter ActionDefineFunction represents the Adobe AVM1 ActionDefineFunction
Inheritance: AbstractAction
Exibir arquivo Open project: rtezli/Blitzableiter

Protected Properties

Property Type Description
_codeSize System.UInt16
_functionName string
_parameterName List

Public Methods

Method Description
ActionDefineFunction ( ) : System

ActionDefineFunction defines a function with a given name and body size.

ActionDefineFunction ( string name, List parameters, UInt16 size ) : System

ActionDefineFunction defines a function with a given name and body size.

ActionDefineFunction ( string name, UInt16 size ) : System

ActionDefineFunction defines a function with a given name and body size.

ToString ( ) : string

Converts the action to a string

Protected Methods

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

Parses function name and parameters of a function from a stream

ParseFrom ( ) : bool

Parses the action from a string array

Render ( System outputStream ) : ulong

Writes function name and parameters to the output stream

Method Details

ActionDefineFunction() public method

ActionDefineFunction defines a function with a given name and body size.
public ActionDefineFunction ( ) : System
return System

ActionDefineFunction() public method

ActionDefineFunction defines a function with a given name and body size.
public ActionDefineFunction ( string name, List parameters, UInt16 size ) : System
name string The name of the function
parameters List The function parameters
size System.UInt16 Number of bytes of code that follow
return System

ActionDefineFunction() public method

ActionDefineFunction defines a function with a given name and body size.
public ActionDefineFunction ( string name, UInt16 size ) : System
name string The name of the function
size System.UInt16 Number of bytes of code that follow
return System

Parse() protected method

Parses function name and parameters of a function from a stream
protected Parse ( System sourceStream, byte sourceVersion ) : void
sourceStream System The stream to read from
sourceVersion byte The version
return void

ParseFrom() protected method

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

Render() protected method

Writes function name and parameters to the output stream
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

_codeSize protected_oe property

protected UInt16,System _codeSize
return System.UInt16

_functionName protected_oe property

protected string _functionName
return string

_parameterName protected_oe property

protected List _parameterName
return List