Class: RubySMB::Dcerpc::Ndr::NdrBoolean

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

Overview

Direct Known Subclasses

NdrBooleanPtr

Instance Method Summary collapse

Instance Method Details

#assign(val) ⇒ Object



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

def assign(val)
  super(value_to_int(val))
end

#snapshotObject



24
25
26
# File 'lib/ruby_smb/dcerpc/ndr.rb', line 24

def snapshot
  return _value == 0 ? false : true
end