Method: BMFF::Box::FileType#parse_data

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

#parse_dataObject



8
9
10
11
12
13
14
15
16
# File 'lib/bmff/box/file_type.rb', line 8

def parse_data
  super
  @major_brand = io.get_ascii(4)
  @minor_version = io.get_uint32
  @compatible_brands = []
  until eob?
    @compatible_brands << io.get_ascii(4)
  end
end