class Elf::StringTable

Public Instance Methods

[](idx) click to toggle source
# File lib/elf/stringtable.rb, line 32
def [](idx)
  load unless @rawtable

  @rawtable[idx]
end
load_internal() click to toggle source
# File lib/elf/stringtable.rb, line 28
def load_internal
  @rawtable = Utilities::OffsetTable.new(@file.readexactly(@size), "\x00")
end