Class: BMFF::Box::URI

Inherits:
Full show all
Defined in:
lib/bmff/box/uri.rb

Overview

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

Instance Attribute Summary collapse

Attributes inherited from Full

#flags, #version

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, #remaining_size, #seek_to_end

Instance Attribute Details

#the_uriObject

Returns the value of attribute the_uri.



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

def the_uri
  @the_uri
end

Instance Method Details

#parse_dataObject



8
9
10
11
# File 'lib/bmff/box/uri.rb', line 8

def parse_data
  super
  @the_uri = io.get_null_terminated_string
end