Code Monkey home page Code Monkey logo

fzip's Introduction

Me sitting at a round table with a Commodore 64, hands on the keyboard, looking at the screen

Me at work (home office, 1985)

fzip's People

Contributors

claus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fzip's Issues

FZip#loadBytes should take an IDataInput rather than ByteArray

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.

Handling big files

Hello,

have you ever tried to manage a 400+Mb zip? How does the library work?

Adler32 Python DeprecationWarning

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?

allow access to FZip bytes

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;

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.