Class: RubySMB::Dcerpc::Ndr::NdrByteArrayPtr

Inherits:
NdrConfVarArray
  • Object
show all
Extended by:
PointerClassPlugin
Defined in:
lib/ruby_smb/dcerpc/ndr.rb

Overview

ArrayPtr definitions: If the type is Ndr*ArrayPtr, it's a ConfVarArray (Uni-dimensional Conformant-varying Array) If the type is Ndr*ConfArrayPtr, it's a ConfArray (Uni-dimensional Conformant Array)

Instance Method Summary collapse

Methods included from PointerClassPlugin

extended

Methods included from ArrayClassPlugin

extended

Instance Method Details

#assign(val) ⇒ Object



1256
1257
1258
1259
# File 'lib/ruby_smb/dcerpc/ndr.rb', line 1256

def assign(val)
  val = val.bytes if val.is_a?(String)
  super(val.to_ary)
end