public class ElfStringTable extends Object
Modifier and Type | Method and Description |
---|---|
static com.google.common.collect.ImmutableList<Integer> |
writeStringTableFromStrings(Iterable<String> strings,
OutputStream output)
Writes a string table from the given strings.
|
static com.google.common.collect.ImmutableList<Integer> |
writeStringTableFromStringTable(byte[] data,
Iterable<Integer> indices,
OutputStream output)
Writes a string table from null terminated byte strings described by the byte array and
indices.
|
public static com.google.common.collect.ImmutableList<Integer> writeStringTableFromStringTable(byte[] data, Iterable<Integer> indices, OutputStream output) throws IOException
IOException
public static com.google.common.collect.ImmutableList<Integer> writeStringTableFromStrings(Iterable<String> strings, OutputStream output) throws IOException
IOException