Class: BMFF::Box::Full

Inherits:
Base
  • Object
show all
Defined in:
lib/bmff/box/full.rb

Overview

vim: set expandtab tabstop=2 shiftwidth=2 softtabstop=2 autoindent:

Instance Attribute Summary collapse

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

#flagsObject

Returns the value of attribute flags.



5
6
7
# File 'lib/bmff/box/full.rb', line 5

def flags
  @flags
end

#versionObject

Returns the value of attribute version.



5
6
7
# File 'lib/bmff/box/full.rb', line 5

def version
  @version
end

Instance Method Details

#parse_dataObject



6
7
8
9
10
# File 'lib/bmff/box/full.rb', line 6

def parse_data
  super
  @version = io.get_uint8
  @flags = io.get_uint24
end