Class: BMFF::Box::ProgressiveDownloadInfo
- Defined in:
- lib/bmff/box/progressive_download_info.rb
Overview
vim: set expandtab tabstop=2 shiftwidth=2 softtabstop=2 autoindent:
Instance Attribute Summary collapse
-
#initial_delay ⇒ Object
Returns the value of attribute initial_delay.
-
#rate ⇒ Object
Returns the value of attribute rate.
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
#initial_delay ⇒ Object
Returns the value of attribute initial_delay.
5 6 7 |
# File 'lib/bmff/box/progressive_download_info.rb', line 5 def initial_delay @initial_delay end |
#rate ⇒ Object
Returns the value of attribute rate.
5 6 7 |
# File 'lib/bmff/box/progressive_download_info.rb', line 5 def rate @rate end |
Instance Method Details
#parse_data ⇒ Object
8 9 10 11 12 13 14 15 16 |
# File 'lib/bmff/box/progressive_download_info.rb', line 8 def parse_data super @rate = [] @initial_delay = [] until eob? @rate << io.get_uint32 @initial_delay << io.get_uint32 end end |