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.



342
343
344
# File 'lib/ruby_smb/dcerpc/ndr.rb', line 342

def actual_count
  @actual_count
end

#offsetObject

Returns the value of attribute offset.



342
343
344
# File 'lib/ruby_smb/dcerpc/ndr.rb', line 342

def offset
  @offset
end

#read_until_indexObject

Returns the value of attribute read_until_index.



342
343
344
# File 'lib/ruby_smb/dcerpc/ndr.rb', line 342

def read_until_index
  @read_until_index
end

Instance Method Details

#[]=(index, value) ⇒ Object



363
364
365
366
367
# File 'lib/ruby_smb/dcerpc/ndr.rb', line 363

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

#initialize_instanceObject



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

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

#insert(index, *objs) ⇒ Object



351
352
353
354
355
# File 'lib/ruby_smb/dcerpc/ndr.rb', line 351

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

#slice_index(index) ⇒ Object



357
358
359
360
361
# File 'lib/ruby_smb/dcerpc/ndr.rb', line 357

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