C# Class SwfDotNet.IO.SwfWriter

SwfWriter provides the way to write a Swf to a file or a stream.
This class writes an swf to a stream using the Write method. Headers and the tags list of the swf are compiled as bytecode and writed in the stream.
Exibir arquivo Open project: bladecoding/SwfExport Class Usage Examples

Public Methods

Method Description
Close ( ) : void

Closes the opened writted stream

SwfWriter ( Stream stream ) : System

constructor.

SwfWriter ( string fileName ) : System

Creates a new SwfWriter instance.

Write ( Swf swf ) : void

Writes the (compressed or uncompressed) swf data to a stream. The stream gets flushed and closed afterwards.

Method Details

Close() public method

Closes the opened writted stream
public Close ( ) : void
return void

SwfWriter() public method

constructor.
public SwfWriter ( Stream stream ) : System
stream Stream Stream, the swf shall be written to.
return System

SwfWriter() public method

Creates a new SwfWriter instance.
public SwfWriter ( string fileName ) : System
fileName string Name of the file where the swf shall be written to
return System

Write() public method

Writes the (compressed or uncompressed) swf data to a stream. The stream gets flushed and closed afterwards.
public Write ( Swf swf ) : void
swf Swf Swf
return void