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.
Afficher le fichier Open project: bladecoding/SwfExport Class Usage Examples

Méthodes publiques

Méthode 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 méthode

Closes the opened writted stream
public Close ( ) : void
Résultat void

SwfWriter() public méthode

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

SwfWriter() public méthode

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

Write() public méthode

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
Résultat void