Module: RubySMB::Dcerpc::Ndr::ConfPlugin
- Defined in:
- lib/ruby_smb/dcerpc/ndr.rb
Instance Attribute Summary collapse
-
#max_count ⇒ Object
Returns the value of attribute max_count.
-
#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
- #set_max_count(val) ⇒ Object
- #slice_index(index) ⇒ Object
Instance Attribute Details
#max_count ⇒ Object
Returns the value of attribute max_count.
310 311 312 |
# File 'lib/ruby_smb/dcerpc/ndr.rb', line 310 def max_count @max_count end |
#read_until_index ⇒ Object
Returns the value of attribute read_until_index.
310 311 312 |
# File 'lib/ruby_smb/dcerpc/ndr.rb', line 310 def read_until_index @read_until_index end |
Instance Method Details
#[]=(index, value) ⇒ Object
330 331 332 333 334 |
# File 'lib/ruby_smb/dcerpc/ndr.rb', line 330 def []=(index, value) obj = super @max_count = length obj end |
#initialize_instance ⇒ Object
312 313 314 315 316 |
# File 'lib/ruby_smb/dcerpc/ndr.rb', line 312 def initialize_instance @read_until_index = 0 @max_count = 0 super end |
#insert(index, *objs) ⇒ Object
318 319 320 321 322 |
# File 'lib/ruby_smb/dcerpc/ndr.rb', line 318 def insert(index, *objs) obj = super @max_count = length obj end |
#set_max_count(val) ⇒ Object
336 337 338 |
# File 'lib/ruby_smb/dcerpc/ndr.rb', line 336 def set_max_count(val) @max_count = @read_until_index = val end |
#slice_index(index) ⇒ Object
324 325 326 327 328 |
# File 'lib/ruby_smb/dcerpc/ndr.rb', line 324 def slice_index(index) obj = super @max_count = length obj end |