{"id":16713135,"url":"https://github.com/picrap/lzmastream","last_synced_at":"2025-07-17T05:33:54.046Z","repository":{"id":90836275,"uuid":"262821980","full_name":"picrap/LzmaStream","owner":"picrap","description":"Trying to get LZMA mainstream","archived":false,"fork":false,"pushed_at":"2020-10-02T13:57:18.000Z","size":1959,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-21T20:48:40.660Z","etag":null,"topics":["csharp","lzma","stream"],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/picrap.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-10T15:52:40.000Z","updated_at":"2024-06-11T04:15:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"95e630b3-4809-48be-87c3-302d624e05d5","html_url":"https://github.com/picrap/LzmaStream","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/picrap%2FLzmaStream","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/picrap%2FLzmaStream/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/picrap%2FLzmaStream/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/picrap%2FLzmaStream/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/picrap","download_url":"https://codeload.github.com/picrap/LzmaStream/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243685855,"owners_count":20331029,"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":["csharp","lzma","stream"],"created_at":"2024-10-12T20:45:37.290Z","updated_at":"2025-03-15T05:18:44.693Z","avatar_url":"https://github.com/picrap.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LzmaStream\nTrying to get LZMA mainstream  :stuck_out_tongue_winking_eye:\n\nAvailable as a [![NuGet package](http://img.shields.io/nuget/v/LzmaStream.svg?style=flat-square)](https://www.nuget.org/packages/LzmaStream) package.\n\n## What is it?\n\nA `Stream` that works exactly as you would expect: read from it and unpack or write to it and pack (the same way you would do with `GZipStream`)\n\n## How to use it\n\nTo decompress data:\n```csharp\n// packedStream is the LZMA packed source stream\nusing (var lzmaStream = new LzmaStream(packedStream, CompressionMode.Decompress))\n{\n    lzmaStream.CopyTo(unpackTarget);\n    // or\n    // lzmaStream.Read(unpackData, 0, unpackData.Length);\n}\n```\n\n… And to compress it:\n```csharp\n// packedStream is a stream receiving packed data\nusing (var lzmaStream = new LzmaStream(packedStream, CompressionMode.Compress))\n// or\n// using (var lzmaStream = new LzmaStream(rawStream, LzmaCompressionParameters.Defaut /* or .Optimal or .Fast or custom… */))\n{\n    // copy from an unpacked stream to LZMA output\n    rawStream.CopyTo(lzmaStream);\n    // or\n    // lzmaStream.Write(rawData, 0, rawData.Length);\n}\n```\n\n## Credits\n\nThis library uses unmodified source code from https://www.7-zip.org/sdk.html ([from another repository](https://github.com/picrap/lzma-sdk))\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpicrap%2Flzmastream","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpicrap%2Flzmastream","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpicrap%2Flzmastream/lists"}