Class: BMFF::Box::ProtectionSystemSpecificHeader
- Defined in:
- lib/bmff/box/protection_system_specific_header.rb
Overview
vim: set expandtab tabstop=2 shiftwidth=2 softtabstop=2 autoindent:
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
-
#data_size ⇒ Object
Returns the value of attribute data_size.
-
#system_id ⇒ Object
Returns the value of attribute system_id.
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
#data ⇒ Object
Returns the value of attribute data.
5 6 7 |
# File 'lib/bmff/box/protection_system_specific_header.rb', line 5 def data @data end |
#data_size ⇒ Object
Returns the value of attribute data_size.
5 6 7 |
# File 'lib/bmff/box/protection_system_specific_header.rb', line 5 def data_size @data_size end |
#system_id ⇒ Object
Returns the value of attribute system_id.
5 6 7 |
# File 'lib/bmff/box/protection_system_specific_header.rb', line 5 def system_id @system_id end |
Instance Method Details
#parse_data ⇒ Object
9 10 11 12 13 14 |
# File 'lib/bmff/box/protection_system_specific_header.rb', line 9 def parse_data super @system_id = io.get_uuid @data_size = io.get_uint32 @data = io.get_byte(@data_size) end |