public static IMAGE_SYMBOL LoadFrom(BinaryReader r) { IMAGE_SYMBOL h = new IMAGE_SYMBOL(); h.ShortName = r.ReadBytes(8); h.Value = r.ReadUInt32(); h.SectionNumber = r.ReadInt16(); h.Type = (SymType)r.ReadUInt16(); h.StorageClass = (SymStorageClass)r.ReadByte(); h.NumberOfAuxSymbols = r.ReadByte(); return(h); }
public static IMAGE_SYMBOL LoadFrom(BinaryReader r) { IMAGE_SYMBOL h = new IMAGE_SYMBOL(); h.ShortName = r.ReadBytes(8); h.Value = r.ReadUInt32(); h.SectionNumber = r.ReadInt16(); h.Type = (SymType)r.ReadUInt16(); h.StorageClass = (SymStorageClass)r.ReadByte(); h.NumberOfAuxSymbols = r.ReadByte(); return h; }