Class: BMFF::Box::DataEntryUrn
- Defined in:
- lib/bmff/box/data_entry_urn.rb
Overview
vim: set expandtab tabstop=2 shiftwidth=2 softtabstop=2 autoindent:
Instance Attribute Summary collapse
-
#location ⇒ Object
Returns the value of attribute location.
-
#name ⇒ Object
Returns the value of attribute name.
Attributes inherited from Full
Attributes inherited from Base
#io, #largesize, #offset, #parent, #size, #type, #usertype
Instance Method Summary collapse
Methods inherited from Base
#actual_size, #container?, #eob?, #parse, register_box, #remaining_size, #seek_to_end
Instance Attribute Details
#location ⇒ Object
Returns the value of attribute location.
5 6 7 |
# File 'lib/bmff/box/data_entry_urn.rb', line 5 def location @location end |
#name ⇒ Object
Returns the value of attribute name.
5 6 7 |
# File 'lib/bmff/box/data_entry_urn.rb', line 5 def name @name end |
Instance Method Details
#parse_data ⇒ Object
8 9 10 11 12 |
# File 'lib/bmff/box/data_entry_urn.rb', line 8 def parse_data super @name = io.get_null_terminated_string(remaining_size) unless eob? @location = io.get_null_terminated_string(remaining_size) unless eob? end |