Class: BMFF::Box::SchemeType
- Defined in:
- lib/bmff/box/scheme_type.rb
Overview
vim: set expandtab tabstop=2 shiftwidth=2 softtabstop=2 autoindent:
Instance Attribute Summary collapse
-
#scheme_type ⇒ Object
Returns the value of attribute scheme_type.
-
#scheme_url ⇒ Object
Returns the value of attribute scheme_url.
-
#scheme_version ⇒ Object
Returns the value of attribute scheme_version.
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, register_uuid_box, #remaining_size, #root, #seek_to_end
Instance Attribute Details
#scheme_type ⇒ Object
Returns the value of attribute scheme_type.
5 6 7 |
# File 'lib/bmff/box/scheme_type.rb', line 5 def scheme_type @scheme_type end |
#scheme_url ⇒ Object
Returns the value of attribute scheme_url.
5 6 7 |
# File 'lib/bmff/box/scheme_type.rb', line 5 def scheme_url @scheme_url end |
#scheme_version ⇒ Object
Returns the value of attribute scheme_version.
5 6 7 |
# File 'lib/bmff/box/scheme_type.rb', line 5 def scheme_version @scheme_version end |
Instance Method Details
#parse_data ⇒ Object
8 9 10 11 12 13 14 15 |
# File 'lib/bmff/box/scheme_type.rb', line 8 def parse_data super @scheme_type = io.get_ascii(4) @scheme_version = io.get_uint32 if @flags & 0x01 > 0 @scheme_url = io.get_null_terminated_string end end |