Module: RubySMB::Dcerpc::Ndr::VarPlugin

Defined in:
lib/ruby_smb/dcerpc/ndr.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#actual_countObject

Returns the value of attribute actual_count.



344
345
346
# File 'lib/ruby_smb/dcerpc/ndr.rb', line 344

def actual_count
  @actual_count
end

#offsetObject

Returns the value of attribute offset.



344
345
346
# File 'lib/ruby_smb/dcerpc/ndr.rb', line 344

def offset
  @offset
end

#read_until_indexObject

Returns the value of attribute read_until_index.



344
345
346
# File 'lib/ruby_smb/dcerpc/ndr.rb', line 344

def read_until_index
  @read_until_index
end

Instance Method Details

#[]=(index, value) ⇒ Object



365
366
367
368
369
# File 'lib/ruby_smb/dcerpc/ndr.rb', line 365

def []=(index, value)
  obj = super
  @actual_count = length
  obj
end

#initialize_instanceObject



346
347
348
349
350
351
# File 'lib/ruby_smb/dcerpc/ndr.rb', line 346

def initialize_instance
  @read_until_index = 0
  @actual_count = 0
  @offset = 0
  super
end

#insert(index, *objs) ⇒ Object



353
354
355
356
357
# File 'lib/ruby_smb/dcerpc/ndr.rb', line 353

def insert(index, *objs)
  obj = super
  @actual_count = length
  obj
end

#slice_index(index) ⇒ Object



359
360
361
362
363
# File 'lib/ruby_smb/dcerpc/ndr.rb', line 359

def slice_index(index)
  obj = super
  @actual_count = length
  obj
end