Method: Rex::ImageSource::Memory#initialize
- Defined in:
- lib/rex/image_source/memory.rb
#initialize(_rawdata, _file_offset = 0) ⇒ Memory
Returns a new instance of Memory.
12 13 14 15 16 |
# File 'lib/rex/image_source/memory.rb', line 12 def initialize(_rawdata, _file_offset = 0) self.rawdata = _rawdata self.size = _rawdata.length self.file_offset = _file_offset end |