Comments (4)
You can work with the unzipped data very easily. Once you've opened the ZIP file and located the archived file you want to work with, you can read the data into a local buffer of any size - you can read one byte at a time if you like. Then you will write that data to a new file on the SDcard or other medium. The data is at your disposal.
int readCurrentFile(uint8_t *buffer, int iLength);
from unziplib.
Thank you very much for your help!
from unziplib.
One last question:
If I want to read it in multiple proportion, then I will need to call some sort of seek() implementaion, right?
Which is in my case int32_t mySeek(void *p, int32_t position, int iType)
So I need to move the file pointer, so that zip.readCurrentFile() know, whence I want to read iLength number of bytes.
But what is my file pointer in the example above?
I need to pass it to mySeek as an argument, but when I call it with myfile, it is not working.
I call it this way:
mySeek(&myfile, 0, SEEK_SET);
I also tried:
myfile.seekSet(0);
And I always get -102 as return value for readSize
int readSize = zip.readCurrentFile(l_Buff, BUFF_SIZE);
from unziplib.
Sorry, I forgot to call zip.openCurrentFile();
๐
from unziplib.
Related Issues (9)
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 unziplib.