Module: RubySMB::Dcerpc::Ndr::NdrFixedByteArray::WarnNoReadLengthPlugin

Defined in:
lib/ruby_smb/dcerpc/ndr.rb

Overview

Warns when reading if :value && no :read_length

Instance Method Summary collapse

Instance Method Details

#read_and_return_value(io) ⇒ Object



185
186
187
188
# File 'lib/ruby_smb/dcerpc/ndr.rb', line 185

def read_and_return_value(io)
  warn "#{debug_name} does not have a :read_length parameter - returning empty array"
  ""
end