Method | Description | |
---|---|---|
Close ( ) : void |
Closes this stream reader.
|
|
ReadSwf ( ) : |
Read swf (header and tags), this is the only public method of
|
|
ReadSwfHeader ( ) : |
Reads the SWF header only. This method don't read the complete content of the SWF file. Then, it provides the possibility to get faster header informations, and only it.
|
|
SwfReader ( Stream stream ) : System |
Swf Reader class, takes an input stream as single argument.
|
|
SwfReader ( string path ) : System |
Creates a new SwfReader instance.
|
|
SwfReader ( string path, bool useBuffer ) : System |
Creates a new SwfReader instance. If useBuffer is true, all the content of the SWF file is readed first and is parsed from the memory after. If useBuffer is false, the SWF is parsed directly from the file stream. Use a buffer is faster to parse, but use more memory.
|
Method | Description | |
---|---|---|
Inflate ( ) : void |
Inflate compressed swf
|
|
Init ( string path, bool useBuffer ) : void |
Inits the stream reading process.
|
|
ReadTag ( byte version, |
Read next tag from swf input stream.
|
|
ReadVideoFrameTag ( |
Read and parse VideoFrameTag, into inner tags and raw byte-array header data
|
public SwfReader ( Stream stream ) : System | ||
stream | Stream | Stream to read swf from, must allow random access |
return | System |
public SwfReader ( string path, bool useBuffer ) : System | ||
path | string | String path of the local swf file |
useBuffer | bool | Use buffer. |
return | System |