Class: Rex::Proto::MsDtyp::MsDtypLargeInteger
- Inherits:
-
BinData::Record
- Object
- BinData::Record
- Rex::Proto::MsDtyp::MsDtypLargeInteger
- Defined in:
- lib/rex/proto/ms_dtyp.rb
Overview
Instance Method Summary collapse
Instance Method Details
#to_datetime ⇒ Object
772 773 774 |
# File 'lib/rex/proto/ms_dtyp.rb', line 772 def to_datetime RubySMB::Field::FileTime.new(to_i).to_datetime end |
#to_i ⇒ Object
776 777 778 |
# File 'lib/rex/proto/ms_dtyp.rb', line 776 def to_i (high_part.to_i << 32) | low_part.to_i end |