C# Class SwfDotNet.IO.FlvReader

FlvReader.
Show file Open project: bladecoding/SwfExport

Public Methods

Method Description
FlvReader ( Stream stream ) : System

Creates a new FlvReader instance.

FlvReader ( string path ) : System

Creates a new FlvReader instance.

FlvReader ( string path, bool useBuffer ) : System

Creates a new SwfReader instance. If useBuffer is true, all the content of the FLV file is readed first and is parsed from the memory after. If useBuffer is false, the FLV is parsed directly from the file stream. Use a buffer is faster to parse, but use more memory.

ReadFlv ( ) : Flv

Reads the FLV.

Private Methods

Method Description
Init ( string path, bool useBuffer ) : void

Inits the stream reading process.

ReadTag ( ) : FlvBaseTag

Reads the tag.

Method Details

FlvReader() public method

Creates a new FlvReader instance.
public FlvReader ( Stream stream ) : System
stream Stream Stream.
return System

FlvReader() public method

Creates a new FlvReader instance.
public FlvReader ( string path ) : System
path string Path.
return System

FlvReader() public method

Creates a new SwfReader instance. If useBuffer is true, all the content of the FLV file is readed first and is parsed from the memory after. If useBuffer is false, the FLV is parsed directly from the file stream. Use a buffer is faster to parse, but use more memory.
public FlvReader ( string path, bool useBuffer ) : System
path string String path of the local flv file
useBuffer bool Use buffer.
return System

ReadFlv() public method

Reads the FLV.
public ReadFlv ( ) : Flv
return Flv