return vfi;
}
public static StringTable readStringTable(IDataReader dr)
throws IOException {
StringTable vfi = new StringTable();
vfi.setLength(dr.readWord());
if (vfi.getLength() == 0) {
return null;
}
vfi.setValueLength(dr.readWord());
vfi.setType(dr.readWord());
vfi.setKey(dr.readUnicode());
if (vfi.getKey().length() % 2 == 1) {
dr.readWord(); // padding
vfi.setPadding(2);
}
return vfi;
}