Method: BMFF::Box::SampleAuxiliaryInformationOffsets#parse_data

Defined in:
lib/bmff/box/sample_auxiliary_information_offsets.rb

#parse_dataObject



8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# File 'lib/bmff/box/sample_auxiliary_information_offsets.rb', line 8

def parse_data
  super
  if flags & 1 > 0
    @aux_info_type = io.get_uint32
    @aux_info_type_parameter = io.get_uint32
  end
  @entry_count = io.get_uint32
  @offsets = []
  @entry_count.times do
    if version == 0
      @offsets << io.get_uint32
    else
      @offsets << io.get_uint64
    end
  end
end