Jump to content
View in the app

A better way to browse. Learn more.

Tuts 4 You

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Identifying compression algo by the decompression routine

Featured Replies

Posted

As it happens, I'm not the first to look into this particular algorithm: the full listing of the decompression routine with some annotations is available on a Chinese blog.

I've already been able to write a "poor man's compressor" for it (well, with compression rate 0 so it actually increases the file size), but I'd like to know what algo it is. I suspect it's a readily available open source algo but I have no experience whatsoever with compression algorithms so I figured someone here might know more than I do about the topic.

I'm also attaching a small file packed with it. When decompressed, it's actually a resource file with some strings and a bitmap in it.

packed.zip

  • Author

I believe I posted this topic in the wrong forum. Would any mod be so kind to move it to Technical Questions & Answers? Thanks in advance and sorry about this.

Code on that chinese site is incomplete. From a first look, it's a simple LZ-based algo but I can't say for sure without complete code.

But I'm quite sure I haven't seen this algo before.

Create an account or sign in to comment

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.