SwfDotNet.IO.SwfReader.ReadSwfHeader C# (CSharp) Method

ReadSwfHeader() public method

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.
public ReadSwfHeader ( ) : SwfHeader
return SwfHeader
        public SwfHeader ReadSwfHeader()
        {
            // compressed swf?
            if (br.PeekChar()=='C')
                Inflate();

            SwfHeader header = new SwfHeader();
            header.ReadData(br);
            this.version = header.Version;

            tagList = new BaseTagCollection();
            br.Close();
            return header;
        }