C# Class SwfDotNet.IO.Tags.BaseTag

Base class for swf tag objects
Inheritance: IEnumerable, ISwfSerializer
Mostra file Open project: bladecoding/SwfExport Class Usage Examples

Protected Properties

Property Type Description
_data byte[]
_tagCode int

Public Methods

Method Description
Add ( object value ) : void

Adds the specified value.

BaseTag ( ) : System

constructor

BaseTag ( byte data ) : System

constructor

BaseTag ( byte data, int tagcode ) : System
GetEnumerator ( ) : IEnumerator

get swf bytecode block enumerator for foreach-loops

GetTagCode ( ) : TagCodeEnum

swf tag code property

ReadData ( byte version, BufferedBinaryReader binaryReader ) : void

Reads the data for the swf decompilation.

Resolve ( Swf swf ) : void

Resolves the specified SWF.

Serialize ( XmlWriter writer ) : void

ISwfSerializer.Serialize

UpdateData ( byte version ) : void

Rebuild tag data for swf compilation

this ( int index ) : byte[]

indexer for accessing bytecode blocks

Method Details

Add() public method

Adds the specified value.
public Add ( object value ) : void
value object Value.
return void

BaseTag() public method

constructor
public BaseTag ( ) : System
return System

BaseTag() public method

constructor
public BaseTag ( byte data ) : System
data byte raw tag data
return System

BaseTag() public method

public BaseTag ( byte data, int tagcode ) : System
data byte
tagcode int
return System

GetEnumerator() public method

get swf bytecode block enumerator for foreach-loops
public GetEnumerator ( ) : IEnumerator
return IEnumerator

GetTagCode() public method

swf tag code property
public GetTagCode ( ) : TagCodeEnum
return TagCodeEnum

ReadData() public method

Reads the data for the swf decompilation.
public ReadData ( byte version, BufferedBinaryReader binaryReader ) : void
version byte Version.
binaryReader SwfDotNet.IO.Utils.BufferedBinaryReader Binary reader.
return void

Resolve() public method

Resolves the specified SWF.
public Resolve ( Swf swf ) : void
swf Swf SWF.
return void

Serialize() public method

ISwfSerializer.Serialize
public Serialize ( XmlWriter writer ) : void
writer System.Xml.XmlWriter Writer.
return void

UpdateData() public method

Rebuild tag data for swf compilation
public UpdateData ( byte version ) : void
version byte Version.
return void

this() public method

indexer for accessing bytecode blocks
public this ( int index ) : byte[]
index int
return byte[]

Property Details

_data protected_oe property

raw tag data
protected byte[] _data
return byte[]

_tagCode protected_oe property

swf tag code
protected int _tagCode
return int