Brendan Duncan
Brendan Duncan
List is just an abstract interface, and you're right, I messed up that part of the the api trying to be clever when it should be more explicit. You should...
You can decode a zip archive, but the contents of the archive will not be decompressed until you access them. For example, if zipBytes is the zip file contents, then...
Not currently, but it's a good idea.
FYI, I do plan on adding this, but it's been a long crunch time at work, haven't had any personal programming time in a bit. Hopefully will get some time...
The challenge here is to have an API that foremost works without dart:io in order to handle web apps, but can also handle file streaming, large archives, minimizing memory usage...
It's a little endian vs big endian issue. Always a source of confusion, and bugs.
Yeah, the documentation is lacking.
Decoding the zip will to an Archive will not decompress the file entries until their data is requested with getData. So, essentially, it's getting the entries without extracting the files.
You can try using an InputFileStream with the ZipDecoder. ```dart import 'package:archive/archive_io.dart'; void main() { var stream = InputFileStream('large_zip_file.zip'); var zip = ZipDecoder().decodeBuffer(stream); for (var file in zip.files) { var...
There isn't enough information here to say why it's happening. You say "without doing nothing but image size", I don't know what that means. Are you resizing the image? Otherwise...