class PEdump::NE::Var
Constants
- Padding
- Value
Public Class Methods
read(f, size = SIZE)
click to toggle source
Calls superclass method
# File lib/pedump/ne/version_info.rb, line 163 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.Value = f.read(x.wValueLength).unpack('v*') end end