메소드 | 설명 | |
---|---|---|
Align8 ( ) : void | ||
Align8Unchecked ( ) : void |
Call this only if you know bitCount to be >0
|
|
Close ( ) : void | ||
Dispose ( ) : void | ||
SWFDataTypeWriter ( Stream outputStream ) : System |
Initializes a new instance of a SWF data writer
|
|
Write ( byte b ) : void | ||
Write ( byte b, int off, int len ) : void | ||
WriteBit ( bool bit ) : void | ||
WriteBytes ( byte bytes ) : void | ||
WriteColorTransform ( |
||
WriteFB ( float value, int nbits ) : void | ||
WriteFIXED8 ( float v ) : void | ||
WriteMatrix ( Matrix m ) : void | ||
WriteRGB ( int v ) : void | ||
WriteRGBA ( int v ) : void | ||
WriteRect ( |
Writes a rectangle to the stream WARNING: Bear in mind that the writer will probably not be byte-aligned after calling this. |
|
WriteSBits ( int value, int numBits ) : void | ||
WriteSI16 ( int v ) : void | ||
WriteSI32 ( int v ) : void | ||
WriteString ( string s, bool write8BitLen = false ) : void |
Strings in SWF are zero-terminated.
|
|
WriteUBits ( uint value, int numBits ) : void | ||
WriteUI16 ( uint v ) : void | ||
WriteUI24 ( uint v ) : void | ||
WriteUI32 ( uint v ) : void | ||
WriteUI8 ( uint v ) : void |
메소드 | 설명 | |
---|---|---|
RequiredBits ( int v ) : int | ||
WriteColorComponent ( int value, int numBits ) : void | ||
WriteVarlenFBPair ( float a, float b ) : void |
public SWFDataTypeWriter ( Stream outputStream ) : System | ||
outputStream | Stream | The stream to write SWF data to. |
리턴 | System |
public WriteColorTransform ( |
||
cxform | ||
withAlpha | bool | |
리턴 | void |
public WriteRect ( |
||
r | The rectangle to write. | |
리턴 | void |
public WriteSBits ( int value, int numBits ) : void | ||
value | int | |
numBits | int | |
리턴 | void |
public WriteString ( string s, bool write8BitLen = false ) : void | ||
s | string | The string to write |
write8BitLen | bool | Some weird parts of SWF have a zero-terminated /// string prefixed by a length. Yeah, I know. |
리턴 | void |
public WriteUBits ( uint value, int numBits ) : void | ||
value | uint | |
numBits | int | |
리턴 | void |