Method: Rex::OLE::Util.pack32array
- Defined in:
- lib/rex/ole/util.rb
.pack32array(arr) ⇒ Object
90 91 92 93 94 95 96 97 |
# File 'lib/rex/ole/util.rb', line 90 def self.pack32array(arr) @endian = LITTLE_ENDIAN if not @endian if (@endian == LITTLE_ENDIAN) arr.pack('V*') else arr.pack('N*') end end |