Method: Rex::OLE::Stream#initialize

Defined in:
lib/rex/ole/stream.rb

#initialize(stg) ⇒ Stream

Returns a new instance of Stream.



13
14
15
16
17
18
19
# File 'lib/rex/ole/stream.rb', line 13

def initialize(stg)
  super

  # for reading/writing from this
  @offset = 0
  @_mse = STGTY_STREAM
end