Struct goblin::elf::strtab::Strtab [] [src]

pub struct Strtab<'a> {
    // some fields omitted
}

Methods

impl<'a> Strtab<'a>
[src]

unsafe fn from_raw(bytes_ptr: *const u8, size: usize) -> Strtab<'a>

fn from_fd(fd: &mut File, offset: usize, len: usize) -> Result<Strtab<'a>>

fn get(&self, idx: usize) -> &'a str

fn to_vec(self) -> Vec<String>

Trait Implementations

impl<'a> Index<usize> for Strtab<'a>
[src]

type Output = str

The returned type after indexing

fn index(&self, _index: usize) -> &Self::Output

The method for the indexing (Foo[Bar]) operation

impl<'a> Debug for Strtab<'a>
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.