{"id":18104045,"url":"https://github.com/dearblue/mruby-lzma","last_synced_at":"2025-04-06T05:48:22.152Z","repository":{"id":54693986,"uuid":"96894669","full_name":"dearblue/mruby-lzma","owner":"dearblue","description":"mruby bindings for lzma (xz)","archived":false,"fork":false,"pushed_at":"2021-02-03T13:34:14.000Z","size":31,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"wip","last_synced_at":"2025-02-12T11:34:43.627Z","etag":null,"topics":["compressions","lzma","mruby","xz"],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dearblue.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-07-11T13:14:01.000Z","updated_at":"2021-02-03T13:34:16.000Z","dependencies_parsed_at":"2022-08-14T00:10:50.776Z","dependency_job_id":null,"html_url":"https://github.com/dearblue/mruby-lzma","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dearblue%2Fmruby-lzma","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dearblue%2Fmruby-lzma/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dearblue%2Fmruby-lzma/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dearblue%2Fmruby-lzma/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dearblue","download_url":"https://codeload.github.com/dearblue/mruby-lzma/tar.gz/refs/heads/wip","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247441006,"owners_count":20939235,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["compressions","lzma","mruby","xz"],"created_at":"2024-10-31T22:13:48.444Z","updated_at":"2025-04-06T05:48:22.125Z","avatar_url":"https://github.com/dearblue.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mruby-lzma : mruby bindings for lzma (xz) the compression library (unofficial)\n\nmruby へ LZMA/XZ 圧縮ライブラリの機能を提供します。\n\n\n## HOW TO USAGE\n\n### 圧縮\n\n```ruby:ruby\nsrc = \"ABCDEFGHIJKLMNOPQRSTUVWXYZ\"\ndest = LZMA.encode(src)\n# dest は xz ユーティリティプログラムで伸長可能な string オブジェクトです\n```\n\n### 伸長\n\n```ruby:ruby\nsrc = ... # LZMA.encode か xz ユーティリティプログラムで圧縮したデータ\ndest = LZMA.decode(src)\n# dest は伸長した string オブジェクト\n```\n\n### 圧縮 (簡易オプションの指定)\n\n```ruby:ruby\nsrc = \"ABCDEFGHIJKLMNOPQRSTUVWXYZ\"\n\npreset_level = 9\ncheck_method = :sha256 # OR :none, :crc32, :crc64, nil (crc64)\n\ndest = LZMA.encode(src, preset: preset_level, check: check_method)\n```\n\n### 圧縮 (フィルタの指定)\n\n```ruby:ruby\nsrc = \"ABCDEFGHIJKLMNOPQRSTUVWXYZ\"\n\nstriping = 4 # for 4 bytes striping (e.g. 16bits-2ch audio, or RGBA32 pixel image\nfilter1 = LZMA.delta(striping)\n\npreset_level = 9\nfilter2 = LZMA.lzma2(preset_level)\n\ncheck_method = :sha256 # OR :none, :crc32, :crc64, nil (crc64)\n\ndest = LZMA.encode(src, filter1, filter2, check: check_method)\n```\n\n\n## Specification\n\n  - Product name: [mruby-lzma](https://github.com/dearblue/mruby-lzma)\n  - Version: 0.3.2\n  - Product quality: PROTOTYPE\n  - Author: [dearblue](https://github.com/dearblue)\n  - Report issue to: \u003chttps://github.com/dearblue/mruby-lzma/issues\u003e\n  - Licensing: [2 clause BSD License](LICENSE)\n  - Dependency external mrbgems:\n      - [mruby-aux](https://github.com/dearblue/mruby-aux)\n        under [Creative Commons Zero License \\(CC0\\)](https://github.com/dearblue/mruby-aux/blob/master/LICENSE)\n        by [dearblue](https://github.com/dearblue)\n  - Dependency C libraries:\n      - liblzma in [XZ Utils](https://tukaani.org/xz/)\n        under [Public Domain](https://git.tukaani.org/?p=xz.git;a=blob;f=COPYING)\n        by Lasse Collin\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdearblue%2Fmruby-lzma","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdearblue%2Fmruby-lzma","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdearblue%2Fmruby-lzma/lists"}