C# Class Recurity.Swf.AVM1.ActionJump

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

Public Methods

Method Description
ActionJump ( ) : System

Creates an unconditional branch.

ActionJump ( Int16 offset ) : System

Creates an unconditional branch.

ToString ( ) : string

Converts the action to a string

Protected Methods

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

Reads an offset from a source stream

ParseFrom ( ) : bool

Parses the action from a string array

Render ( System outputStream ) : ulong

Writes the offset back to the output stream

Method Details

ActionJump() public method

Creates an unconditional branch.
public ActionJump ( ) : System
return System

ActionJump() public method

Creates an unconditional branch.
public ActionJump ( Int16 offset ) : System
offset System.Int16 The offset is a signed quantity, enabling /// branches from –32,768 bytes to 32,767 bytes. An offset of 0 /// points to the action directly after the ActionJump action.
return System

Parse() protected method

Reads an offset from a source stream
protected Parse ( System sourceStream, byte sourceVersion ) : void
sourceStream System The source 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 the offset back to the output stream
protected Render ( System outputStream ) : ulong
outputStream System The stream to write to
return ulong

ToString() public method

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