# File lib/chef/util/windows.rb, line 46 def dword_to_i(buffer, offset) buffer[offset*PTR_SIZE,PTR_SIZE].unpack('i')[0] || 0 end