Class: PEdump::NE::VarFileInfo
Class Method Summary collapse
Class Method Details
.read(f, size = SIZE) ⇒ Object
143 144 145 146 147 148 149 |
# File 'lib/pedump/ne/version_info.rb', line 143 def self.read f, size = SIZE super.tap do |x| x.szKey.chomp!("\x00") x.Padding = f.tell%4 > 0 ? f.read(4 - f.tell%4) : nil x.Children = Var.read(f) end end |