CSJ2K.j2k.codestream.reader.HeaderDecoder.readPLTFields C# (CSharp) Метод

readPLTFields() приватный Метод

Reads the PLT fields 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 readPLTFields ( System ehs ) : void
ehs System The encoder header stream. /// ///
Результат void
        private void readPLTFields(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 PLT marker");
        }