class BMFF::Box::Full

Public Instance Methods

compose(data) click to toggle source
Calls superclass method
# File lib/bmffglitch/bmffex.rb, line 60
def compose(data)
  sio = StringIO.new("", "r+")
  sio.set_encoding("ascii-8bit")
  sio.extend(BMFF::BinaryAccessor)
  
  sio.write_uint8(@version)
  sio.write_uint24(@flags)
  super(sio.string + data)
end
parse_data() click to toggle source
Calls superclass method
# File lib/bmffglitch/bmffex.rb, line 70
def parse_data
  @version = io.get_uint8
  @flags = io.get_uint24
  super
end