C# Class Recurity.Swf.AVM1.ActionDefineFunction

Blitzableiter ActionDefineFunction represents the Adobe AVM1 ActionDefineFunction
Inheritance: AbstractAction
Afficher le fichier Open project: rtezli/Blitzableiter

Protected Properties

Свойство Type Description
_codeSize System.UInt16
_functionName string
_parameterName List

Méthodes publiques

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

Méthodes protégées

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

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

ActionDefineFunction() public méthode

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

ActionDefineFunction() public méthode

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

Parse() protected méthode

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

ParseFrom() protected méthode

Parses the action from a string array
protected ParseFrom ( ) : bool
Résultat bool

Render() protected méthode

Writes function name and parameters to the output stream
protected Render ( System outputStream ) : ulong
outputStream System
Résultat ulong

ToString() public méthode

Converts the action to a string
public ToString ( ) : string
Résultat string

Property Details

_codeSize protected_oe property

protected UInt16,System _codeSize
Résultat System.UInt16

_functionName protected_oe property

protected string _functionName
Résultat string

_parameterName protected_oe property

protected List _parameterName
Résultat List