kopia lustrzana https://github.com/viljoviitanen/pako
				
				
				
			0.1.0 released
							rodzic
							
								
									3cad53acf2
								
							
						
					
					
						commit
						4a2fa5a81a
					
				|  | @ -67,7 +67,7 @@ bower install pako | |||
| Example & API | ||||
| ------------- | ||||
| 
 | ||||
| [Full docs](http://nodeca.github.io/pako/). | ||||
| Full docs - http://nodeca.github.io/pako/ | ||||
| 
 | ||||
| ```javascript | ||||
| var pako = require('pako'); | ||||
|  | @ -97,7 +97,7 @@ var inflator = new pako.Inflate(); | |||
| inflator.push(chunk1, false); | ||||
| inflator.push(chunk2, false); | ||||
| ... | ||||
| inflator.push(chunkN, true); // true -> last | ||||
| inflator.push(chunkN, true); // true -> last chunk | ||||
| 
 | ||||
| if (inflator.err) { | ||||
|   console.log(inflator.msg); | ||||
|  | @ -111,7 +111,7 @@ var output = inflator.result; | |||
| Notes | ||||
| ----- | ||||
| 
 | ||||
| Pako does not contains some specific zlib functions: | ||||
| Pako does not contain some specific zlib functions: | ||||
| 
 | ||||
| - __deflate__ - writing custom gzip headers and methods `deflateSetDictionary`, | ||||
|   `deflateParams`, `deflateSetHeader`, `deflateBound`, `deflatePending`. | ||||
|  |  | |||
|  | @ -1,7 +1,7 @@ | |||
| { | ||||
|   "name"            : "pako", | ||||
|   "description"     : "zlib port to javascript - fast, modularized, with browser support.", | ||||
|   "version"         : "0.0.0", | ||||
|   "description"     : "zlib port to javascript - fast, modularized, with browser support", | ||||
|   "version"         : "0.1.0", | ||||
|   "keywords"        : [ "zlib", "deflate", "inflate", "gzip" ], | ||||
|   "homepage"        : "https://github.com/nodeca/pako", | ||||
| 
 | ||||
|  |  | |||
		Ładowanie…
	
		Reference in New Issue
	
	 Vitaly Puzrin
						Vitaly Puzrin