Class: TreeHaver::KaitaiByteSpan
- Inherits:
-
Struct
- Object
- Struct
- TreeHaver::KaitaiByteSpan
- Defined in:
- lib/tree_haver/contracts.rb
Instance Attribute Summary collapse
-
#end_byte ⇒ Object
Returns the value of attribute end_byte.
-
#start_byte ⇒ Object
Returns the value of attribute start_byte.
Instance Method Summary collapse
Instance Attribute Details
#end_byte ⇒ Object
Returns the value of attribute end_byte
981 982 983 |
# File 'lib/tree_haver/contracts.rb', line 981 def end_byte @end_byte end |
#start_byte ⇒ Object
Returns the value of attribute start_byte
981 982 983 |
# File 'lib/tree_haver/contracts.rb', line 981 def start_byte @start_byte end |
Instance Method Details
#to_h ⇒ Object
982 983 984 985 986 987 |
# File 'lib/tree_haver/contracts.rb', line 982 def to_h { start_byte: start_byte, end_byte: end_byte } end |