claus / fzip Goto Github PK
View Code? Open in Web Editor NEWFZip is an Actionscript 3 class library to load, modify and create standard ZIP archives.
FZip is an Actionscript 3 class library to load, modify and create standard ZIP archives.
The loadBytes method of FZip should take an IDataInput rather than a ByteArray. That is,
public function loadBytes(bytes:IDataInput):void
Right now, there's no method we can call on FZip if all we have is an IDataInput. For example, if we're downloading the file ourselves with URLStream.
Line 91: newextra = struct.pack("<2HI",0xdada,0x0004,adler32)
results in
sys:1: DeprecationWarning: struct integer overflow masking is deprecated
sys:1: DeprecationWarning: 'I' format requires 0 <= number <= 4294967295
on OS X 10.6 with Python 2.6 and a zip file created with MacPorts zip.
Changing the format to use a lowercase i from I makes the error go away, as adler32 returns signed integers. Is that a safe change?
If FZip is used to download a zip file, the original zip file's bytes are inaccessible. For example, these bytes could be used to generate a checksum to validate the download.
We should be able to get at these bytes via some sort of property, e.g.
public function get rawbytes():IDataInput;
Hello,
have you ever tried to manage a 400+Mb zip? How does the library work?
Here is the broken archive sample - http://mail.moscow.stalker.com/~maxim/steelblue.zip
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.