{"id":20149529,"url":"https://github.com/lonami/lzxd","last_synced_at":"2025-04-09T20:09:16.433Z","repository":{"id":37205890,"uuid":"268815419","full_name":"Lonami/lzxd","owner":"Lonami","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-17T22:14:43.000Z","size":99,"stargazers_count":15,"open_issues_count":2,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-09T20:09:11.750Z","etag":null,"topics":["decompression"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/lzxd","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Lonami.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-06-02T13:55:37.000Z","updated_at":"2025-04-02T21:20:26.000Z","dependencies_parsed_at":"2023-12-03T00:23:45.694Z","dependency_job_id":"0768f4a1-ec96-4b07-b936-9addf91b5014","html_url":"https://github.com/Lonami/lzxd","commit_stats":{"total_commits":64,"total_committers":4,"mean_commits":16.0,"dds":0.109375,"last_synced_commit":"ba70d7f8292ce840267b1ab89d44a9685c72ba1f"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lonami%2Flzxd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lonami%2Flzxd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lonami%2Flzxd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lonami%2Flzxd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Lonami","download_url":"https://codeload.github.com/Lonami/lzxd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248103872,"owners_count":21048245,"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":["decompression"],"created_at":"2024-11-13T22:45:56.400Z","updated_at":"2025-04-09T20:09:16.405Z","avatar_url":"https://github.com/Lonami.png","language":"Rust","readme":"# lzxd\n\nA Rust implementation of [Microsoft's lzxd encoding][1], based in the description and code of\nthe document itself. This crate currently only implements decompression.\n\n```rust\nuse lzxd::{Lzxd, WindowSize};\n\nlet mut lzxd = Lzxd::new(WindowSize::KB64);\n\nwhile let Some(chunk) = get_compressed_chunk() {\n    let decompressed = lzxd.decompress_next(\u0026chunk);\n    write_data(decompressed.unwrap());\n}\n```\n\nThe project's motivation was to be able to read XNB files produced by XNA Game Studio, some of\nwhich are compressed under LZXD compression.\n\nHuge thanks to [LeonBlade for their xnbcli][2] project which helped greatly to debug this\nimplementation, and special mention to [dorkbox's CabParser][3] for further helping validate\nthat this implementation is able to decompress real-world data correctly.\n\n## License\n\nThis library is licensed under either of\n\n* Apache License, Version 2.0 ([LICENSE-APACHE] or\n  http://www.apache.org/licenses/LICENSE-2.0)\n\n* MIT license ([LICENSE-MIT] or http://opensource.org/licenses/MIT)\n\nat your option.\n\n[1]: https://docs.microsoft.com/en-us/openspecs/exchange_server_protocols/ms-patch/cc78752a-b4af-4eee-88cb-01f4d8a4c2bf\n[2]: https://github.com/LeonBlade/xnbcli\n[3]: https://github.com/dorkbox/CabParser/\n[LICENSE-APACHE]: LICENSE-APACHE\n[LICENSE-MIT]: LICENSE-MIT\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flonami%2Flzxd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flonami%2Flzxd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flonami%2Flzxd/lists"}