Class: RubySMB::Dcerpc::Ndr::NdrString

Inherits:
BinData::Record
  • Object
show all
Defined in:
lib/ruby_smb/dcerpc/ndr.rb

Instance Method Summary collapse

Instance Method Details

#assign(v) ⇒ Object



18
19
20
21
22
# File 'lib/ruby_smb/dcerpc/ndr.rb', line 18

def assign(v)
  self.max_count = v.size
  self.actual_count = v.size
  self.str = v
end