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; }
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); }
public SmxCodeV1Section(FileHeader file, SectionEntry header) : base(file, header) { ch_ = CodeV1Header.From(file.SectionReader(header)); }