class TTFunk::Table

def initialize(file)

Parameters:
  • file (TTFunk::File) --
def initialize(file)
  @file = file
  @offset = nil
  @length = nil
  info = file.directory_info(tag)
  if info
    @offset = info[:offset]
    @length = info[:length]
    parse_from(@offset) { parse! }
  end
end