# File lib/rex/ole/propset.rb, line 26 def pack_data buf = [ @type ].pack('V') case @type when VT_BLOB buf << [ @data.length ].pack('V') when VT_CF buf << [ 4 + @data.length, -1 ].pack('V*') end buf << @data buf end
Generated with the Darkfish Rdoc Generator 2.