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.



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

def actual_count
  @actual_count
end

#offsetObject

Returns the value of attribute offset.



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

def offset
  @offset
end

#read_until_indexObject

Returns the value of attribute read_until_index.



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

def read_until_index
  @read_until_index
end

Instance Method Details

#[]=(index, value) ⇒ Object



379
380
381
382
383
# File 'lib/ruby_smb/dcerpc/ndr.rb', line 379

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

#initialize_instanceObject



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

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

#insert(index, *objs) ⇒ Object



367
368
369
370
371
# File 'lib/ruby_smb/dcerpc/ndr.rb', line 367

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

#slice_index(index) ⇒ Object



373
374
375
376
377
# File 'lib/ruby_smb/dcerpc/ndr.rb', line 373

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