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(); }
public abstract void loadobjectheader(HeaderInfo hi, System.IO.BinaryReader br);
//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; }