コード例 #1
0
 public override void loadobjectheader(HeaderInfo hi, BinaryReader br)
 {
     loadedformat = hi.loadedformat;
     name = hi.name;
     forsavingformat = hi.forsavingformat;
     offset = hi.offset;
     size = hi.size;
     headersize = hi.headersize;
     size = br.ReadInt32();
 }
コード例 #2
0
 public abstract void loadobjectheader(HeaderInfo hi, System.IO.BinaryReader br);
コード例 #3
0
        //16+имя
        public static void loadbaseheader(System.IO.BinaryReader br, HeaderInfo hi)
        {
            int length = br.ReadInt32();
            hi.name = new string(br.ReadChars(length + 1));

            hi.offset = br.ReadInt32();
            hi.loadedformat = br.ReadInt32();
            hi.headersize = br.ReadInt32();
            hi.forsavingformat = hi.loadedformat;
        }