Module: RubySMB::Dcerpc::Ndr::VarPlugin
- Defined in:
- lib/ruby_smb/dcerpc/ndr.rb
Instance Attribute Summary collapse
-
#actual_count ⇒ Object
Returns the value of attribute actual_count.
-
#offset ⇒ Object
Returns the value of attribute offset.
-
#read_until_index ⇒ Object
Returns the value of attribute read_until_index.
Instance Method Summary collapse
- #[]=(index, value) ⇒ Object
- #initialize_instance ⇒ Object
- #insert(index, *objs) ⇒ Object
- #slice_index(index) ⇒ Object
Instance Attribute Details
#actual_count ⇒ Object
Returns the value of attribute actual_count.
354 355 356 |
# File 'lib/ruby_smb/dcerpc/ndr.rb', line 354 def actual_count @actual_count end |
#offset ⇒ Object
Returns the value of attribute offset.
354 355 356 |
# File 'lib/ruby_smb/dcerpc/ndr.rb', line 354 def offset @offset end |
#read_until_index ⇒ Object
Returns the value of attribute read_until_index.
354 355 356 |
# File 'lib/ruby_smb/dcerpc/ndr.rb', line 354 def read_until_index @read_until_index end |
Instance Method Details
#[]=(index, value) ⇒ Object
375 376 377 378 379 |
# File 'lib/ruby_smb/dcerpc/ndr.rb', line 375 def []=(index, value) obj = super @actual_count = length obj end |
#initialize_instance ⇒ Object
356 357 358 359 360 361 |
# File 'lib/ruby_smb/dcerpc/ndr.rb', line 356 def initialize_instance @read_until_index = 0 @actual_count = 0 @offset = 0 super end |
#insert(index, *objs) ⇒ Object
363 364 365 366 367 |
# File 'lib/ruby_smb/dcerpc/ndr.rb', line 363 def insert(index, *objs) obj = super @actual_count = length obj end |
#slice_index(index) ⇒ Object
369 370 371 372 373 |
# File 'lib/ruby_smb/dcerpc/ndr.rb', line 369 def slice_index(index) obj = super @actual_count = length obj end |