Esempio n. 1
0
 public static CodeV1Header From(BinaryReader rd)
 {
     var code = new CodeV1Header();
     code.CodeSize = rd.ReadInt32();
     code.CellSize = rd.ReadByte();
     code.CodeVersion = rd.ReadByte();
     code.Flags = (CodeV1Flags)rd.ReadUInt16();
     code.main = rd.ReadInt32();
     code.codeoffs = rd.ReadInt32();
     return code;
 }
Esempio n. 2
0
        public static CodeV1Header From(BinaryReader rd)
        {
            var code = new CodeV1Header();

            code.CodeSize    = rd.ReadInt32();
            code.CellSize    = rd.ReadByte();
            code.CodeVersion = rd.ReadByte();
            code.Flags       = (CodeV1Flags)rd.ReadUInt16();
            code.main        = rd.ReadInt32();
            code.codeoffs    = rd.ReadInt32();
            return(code);
        }
Esempio n. 3
0
 public SmxCodeV1Section(FileHeader file, SectionEntry header)
     : base(file, header)
 {
     ch_ = CodeV1Header.From(file.SectionReader(header));
 }
Esempio n. 4
0
 public SmxCodeV1Section(FileHeader file, SectionEntry header)
     : base(file, header)
 {
     ch_ = CodeV1Header.From(file.SectionReader(header));
 }