Class: BMFF::Box::HintSampleEntry

Inherits:
SampleEntry show all
Defined in:
lib/bmff/box/hint_sample_entry.rb

Overview

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

Instance Attribute Summary collapse

Attributes inherited from SampleEntry

#data_reference_index, #reserved1

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

#dataObject

Returns the value of attribute data.



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

def data
  @data
end

Instance Method Details

#parse_dataObject



7
8
9
10
11
12
13
# File 'lib/bmff/box/hint_sample_entry.rb', line 7

def parse_data
  super
  @data = []
  until eob?
    @data << io.get_uint8
  end
end