C# Class SWFProcessing.SWFModeller.ABCDataTypeWriter

A writer that can write an assortment of atomic ABC types to a stream.
Inheritance: IDisposable
显示文件 Open project: WeeWorld/Swiffotron

Public Methods

Method Description
ABCDataTypeWriter ( Stream outputStream ) : System

Initializes a new instance of a ABC data writer

Align8 ( ) : void
Close ( ) : void
Dispose ( ) : void
Write ( byte b ) : void
Write ( byte b, int off, int len ) : void
WriteBit ( bool boolBit ) : void
WriteSI16 ( int v ) : void
WriteSI24 ( int v ) : void
WriteSI32 ( int sv ) : void
WriteSI8 ( int v ) : void
WriteString ( string s ) : void

Writes a lengthed string for ABC data. For SWF data, you should use WriteStringZ instead.

WriteU30Packed ( uint v ) : void
WriteUBits ( uint value, int numBits ) : void
WriteUI16 ( uint v ) : void
WriteUI24 ( uint v ) : void
WriteUI32 ( uint v ) : void
WriteUI8 ( uint v ) : void

Method Details

ABCDataTypeWriter() public method

Initializes a new instance of a ABC data writer
public ABCDataTypeWriter ( Stream outputStream ) : System
outputStream Stream The stream to write ABC data to.
return System

Align8() public method

public Align8 ( ) : void
return void

Close() public method

public Close ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

Write() public method

public Write ( byte b ) : void
b byte
return void

Write() public method

public Write ( byte b, int off, int len ) : void
b byte
off int
len int
return void

WriteBit() public method

public WriteBit ( bool boolBit ) : void
boolBit bool
return void

WriteSI16() public method

public WriteSI16 ( int v ) : void
v int
return void

WriteSI24() public method

public WriteSI24 ( int v ) : void
v int
return void

WriteSI32() public method

public WriteSI32 ( int sv ) : void
sv int
return void

WriteSI8() public method

public WriteSI8 ( int v ) : void
v int
return void

WriteString() public method

Writes a lengthed string for ABC data. For SWF data, you should use WriteStringZ instead.
public WriteString ( string s ) : void
s string The string to write.
return void

WriteU30Packed() public method

public WriteU30Packed ( uint v ) : void
v uint
return void

WriteUBits() public method

public WriteUBits ( uint value, int numBits ) : void
value uint
numBits int
return void

WriteUI16() public method

public WriteUI16 ( uint v ) : void
v uint
return void

WriteUI24() public method

public WriteUI24 ( uint v ) : void
v uint
return void

WriteUI32() public method

public WriteUI32 ( uint v ) : void
v uint
return void

WriteUI8() public method

public WriteUI8 ( uint v ) : void
v uint
return void