CSJ2K.j2k.codestream.reader.HeaderDecoder.readPLM C# (CSharp) Method

readPLM() private method

Reads PLM marker segment and realigns the codestream where the next marker should be found. Informations stored in these fields are currently not taken into account.
If an I/O error occurs while reading from the /// encoder header stream /// ///
private readPLM ( System ehs ) : void
ehs System The encoder header stream. /// ///
return void
        private void readPLM(System.IO.BinaryReader ehs)
        {
            int length;

            length = ehs.ReadUInt16();
            //Ignore all informations contained
            System.IO.BinaryReader temp_BinaryReader;
            System.Int64 temp_Int64;
            temp_BinaryReader = ehs;
            temp_Int64 = temp_BinaryReader.BaseStream.Position;
            temp_Int64 = temp_BinaryReader.BaseStream.Seek(length - 2, System.IO.SeekOrigin.Current) - temp_Int64;
            // CONVERSION PROBLEM?
            int generatedAux = (int)temp_Int64;

            FacilityManager.getMsgLogger().printmsg(CSJ2K.j2k.util.MsgLogger_Fields.INFO, "Skipping unsupported PLM marker");
        }