Class: Mapi::Pst::TablePtr
- Inherits:
-
Struct
- Object
- Struct
- Mapi::Pst::TablePtr
- Defined in:
- lib/mapi/pst.rb
Overview
_pst_table_ptr_struct
Constant Summary collapse
- UNPACK_STR32 =
'V3'
- UNPACK_STR64 =
'T3'
- SIZE32 =
12
- SIZE64 =
24
Instance Attribute Summary collapse
-
#offset ⇒ Object
Returns the value of attribute offset.
-
#start ⇒ Object
Returns the value of attribute start.
-
#u1 ⇒ Object
Returns the value of attribute u1.
Instance Method Summary collapse
-
#initialize(data, is64) ⇒ TablePtr
constructor
A new instance of TablePtr.
Constructor Details
#initialize(data, is64) ⇒ TablePtr
Returns a new instance of TablePtr.
445 446 447 448 |
# File 'lib/mapi/pst.rb', line 445 def initialize data, is64 data = Pst.unpack(data, is64 ? UNPACK_STR64 : UNPACK_STR32) if String === data super(*data) end |
Instance Attribute Details
#offset ⇒ Object
Returns the value of attribute offset
437 438 439 |
# File 'lib/mapi/pst.rb', line 437 def offset @offset end |
#start ⇒ Object
Returns the value of attribute start
437 438 439 |
# File 'lib/mapi/pst.rb', line 437 def start @start end |
#u1 ⇒ Object
Returns the value of attribute u1
437 438 439 |
# File 'lib/mapi/pst.rb', line 437 def u1 @u1 end |