C# Класс 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.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

Close() публичный Метод

Closes the opened writted stream
public Close ( ) : void
Результат void

SwfWriter() публичный Метод

constructor.
public SwfWriter ( Stream stream ) : System
stream Stream Stream, the swf shall be written to.
Результат System

SwfWriter() публичный Метод

Creates a new SwfWriter instance.
public SwfWriter ( string fileName ) : System
fileName string Name of the file where the swf shall be written to
Результат System

Write() публичный Метод

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
Результат void