C# Класс Recurity.Swf.AVM1.ActionDefineFunction

Blitzableiter ActionDefineFunction represents the Adobe AVM1 ActionDefineFunction
Наследование: AbstractAction
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
_codeSize System.UInt16
_functionName string
_parameterName List

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
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

Описание методов

ActionDefineFunction() публичный Метод

ActionDefineFunction defines a function with a given name and body size.
public ActionDefineFunction ( ) : System
Результат System

ActionDefineFunction() публичный Метод

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
Результат System

ActionDefineFunction() публичный Метод

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
Результат System

Parse() защищенный Метод

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
Результат void

ParseFrom() защищенный Метод

Parses the action from a string array
protected ParseFrom ( ) : bool
Результат bool

Render() защищенный Метод

Writes function name and parameters to the output stream
protected Render ( System outputStream ) : ulong
outputStream System
Результат ulong

ToString() публичный Метод

Converts the action to a string
public ToString ( ) : string
Результат string

Описание свойств

_codeSize защищенное свойство

protected UInt16,System _codeSize
Результат System.UInt16

_functionName защищенное свойство

protected string _functionName
Результат string

_parameterName защищенное свойство

protected List _parameterName
Результат List