2018-06-21 23:06:34 +02:00
|
|
|
import getSolidpkg from './ssn/getSolidpkg';
|
2018-06-22 13:13:09 +02:00
|
|
|
import readSsnFile from './ssn/readSsnFile';
|
2018-06-21 21:26:29 +02:00
|
|
|
|
|
|
|
(async () => {
|
2018-06-21 21:52:56 +02:00
|
|
|
const buffer = await getSolidpkg('assets_swtor_de_de', -1, 0);
|
2018-06-21 21:26:29 +02:00
|
|
|
console.log(buffer.length, buffer);
|
2018-06-21 22:39:15 +02:00
|
|
|
|
2018-06-22 13:13:09 +02:00
|
|
|
const fileEntries = readSsnFile(buffer);
|
|
|
|
console.log(fileEntries);
|
2018-06-21 21:26:29 +02:00
|
|
|
})();
|