Esempio n. 1
0
        /// <summary>
        /// Reads the Binary File Identifier '#!rtpplay..' and the RD_hdr_t.
        /// </summary>
        void ReadFileHeader()
        {
            //If identifier has not been read and the format is unknown or non text
            if (m_FileIdentifier == null && RtpDumpExtensions.HasFileHeader(m_Format))
            {
                //Identify the Binary file
                ReadBinaryFileIdentifier();

                //If the format is non text
                if (m_Format < FileFormat.Text)
                {
                    //Read the RD_hdr_t
                    ReadBinaryFileHeader();
                }
            }
        }