Comments (4)
I don’t know much about .pak files, but a cursory look shows that it’s an archive file format (like rar or zip). This library doesn’t read pak files.
If the pak archive contains lz4 compressed data, then a program that reads pak files would need to tell the lz4 decoder the correct offset into the pak file. This is outside the scope of this library
from es_compression.
Similar to a zip file being composed of entries (files) that use gzip compression, It seems like a pak file is composed of 1 or more entries that may be lz4 compressed.
So Im guessing you need a pak reader to read the “entries”. And each entry could be read with an lz4 decoder.
Just a guess
from es_compression.
I don’t know much about .pak files, but a cursory look shows that it’s an archive file format (like rar or zip). This library doesn’t read pak files.
If the pak archive contains lz4 compressed data, then a program that reads pak files would need to tell the lz4 decoder the correct offset into the pak file. This is outside the scope of this library
what i'm trying to achieve is a dart app like this
https://github.com/Norbyte/lslib/tree/master
that can unzip .pak files, maybe it use lz4 compression
from es_compression.
Similar to a zip file being composed of entries (files) that use gzip compression, It seems like a pak file is composed of 1 or more entries that may be lz4 compressed.
So Im guessing you need a pak reader to read the “entries”. And each entry could be read with an lz4 decoder.
Just a guess
Thanks for your suggestion, tonight i can upload a sample file just if you need for testing
from es_compression.
Related Issues (20)
- .so files not found on Android release mode HOT 3
- gzip for flutter ? HOT 1
- lz4 block format support? HOT 1
- how to use it on the web platform? HOT 1
- Invalid argument(s): Failed to lookup symbol 'LZ4_versionNumber': dlsym(RTLD_DEFAULT, LZ4_versionNumber): symbol not found HOT 1
- library for iOS (flutter) HOT 8
- Do you have any plan to support Lempel–Ziv–Welch (LZW) algorithm? HOT 1
- How to add multiple files at once to lz when saving to file? HOT 1
- unable to load library in android (flutter). HOT 1
- Why your library can't run in flutter ? HOT 3
- type 'Null' is not a subtype of type 'String' in type cast (version 2.0.9) HOT 3
- Are there have some examples about ios immplements? HOT 1
- zip with password HOT 1
- lib libeslz4-android64.so HOT 2
- Unhandled Exception: Invalid argument(s): Failed to load dynamic library 'libesbrotli-android64.so': dlopen failed: library "libesbrotli-android64.so" not found HOT 1
- It is recommended to add the prefix `lib` to macos dylib
- 我的项目运行的时候报: Failed to load dynamic library 'libeszstd-android64.so': dlopen failed: library "libeszstd-android64.so" not found HOT 2
- [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Invalid argument(s): Failed to load dynamic library 'eslz4-win64.dll': The specified module could not be found. HOT 1
- macOS - Apple Silicon - LZ4 wrong architecture (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64')) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from es_compression.