{"id":19657811,"url":"https://github.com/gdatasoftwareag/lzostream","last_synced_at":"2026-05-15T02:46:04.770Z","repository":{"id":236011444,"uuid":"788950090","full_name":"GDATASoftwareAG/lzostream","owner":"GDATASoftwareAG","description":null,"archived":false,"fork":false,"pushed_at":"2024-04-22T07:39:24.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-01-10T00:54:40.451Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GDATASoftwareAG.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}},"created_at":"2024-04-19T12:07:29.000Z","updated_at":"2024-04-25T07:43:59.000Z","dependencies_parsed_at":"2024-04-25T09:54:55.818Z","dependency_job_id":null,"html_url":"https://github.com/GDATASoftwareAG/lzostream","commit_stats":null,"previous_names":["gdatasoftwareag/lzostream"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GDATASoftwareAG%2Flzostream","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GDATASoftwareAG%2Flzostream/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GDATASoftwareAG%2Flzostream/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GDATASoftwareAG%2Flzostream/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GDATASoftwareAG","download_url":"https://codeload.github.com/GDATASoftwareAG/lzostream/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240965490,"owners_count":19885943,"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":[],"created_at":"2024-11-11T15:33:47.892Z","updated_at":"2026-05-15T02:46:04.710Z","avatar_url":"https://github.com/GDATASoftwareAG.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lzostream\nLzostream is a windows command line tool that uses [Oberhumer LZO](http://www.oberhumer.com/opensource/lzo/) to compress and decompress files and streams.\n\nIt was written with Visual Studio in C++ for Windows and can easy be customized for other platforms.\n\n# Usage\nRun lzostream.exe in a command line without any arguments for a short help\n```\nLZOStream v1.0\n\nUsage: LZOStream \u003ccommand\u003e [\u003coption\u003e...] [\u003e output] [\u003c input]\n\n\u003cCommands\u003e\n    c|compress              Compress    (-i -o -f -h -l)\n    d|decompress            Decompress  (-i -o -f -h -b)\n    i|info                  Info        (-i -o)\n\n\u003cOptions\u003e\n    -i|--input \u003cfile\u003e       Input file\n    -o|--output \u003cfile\u003e      Output file\n    -f|--format \u003cmethod\u003e    Compression method (compress/ decompress headerless)\n    -h|--headerless         Headerless output (compress)\n    -l|--limitless          No limitation (compress: data maybe larger)\n    -b|--block \u003csize\u003e       Block size (decompress: headerless)\n\n\u003cMethods\u003e\n    Lzo1,  Lzo1_99\n    Lzo1a, Lzo1a_99\n    Lzo1b, Lzo1b_1 ... Lzo1b_9, Lzo1b_99, Lzo1b_999\n    Lzo1c, Lzo1c_1 ... Lzo1c_9, Lzo1c_99, Lzo1c_999\n    Lzo1f, Lzo1f_1, Lzo1f_999\n    Lzo1x, Lzo1x_1, Lzo1x_1_11, Lzo1x_1_12, Lzo1x_1_15, Lzo1x_999\n    Lzo1y, Lzo1y_1, Lzo1y_999\n    Lzo1z, Lzo1z_999\n    Lzo2a, Lzo2a_999\n\n```\n### Command c|compress\nCompresses files or streams ('input.txt' is compressed to 'output.lzo')\n```\nlzostream c -i input.txt -o output.lzo\n```\nYou can also stream data ('dir' output is compressed to 'dir.lzo')\n```\ndir | lzostream c -o dir.lzo\n```\n### Command d|decompress\nDecompresses files or streams\n```\nlzostream d -i input.lzo -o output.txt\n```\nStreaming is also possible ('dir.lzo' is decompressed to 'dir.txt')\n```\nlzostream d \u003e dir.txt \u003c dir.lzo\n```\n### Command i|info\nDisplays header information. An lzostream header is written before the compressed data.\n```\n[0x00] HeaderId        : 0x1c4f5a4c (ok)\n[0x04] FormatId        : 0xf7a9daf2 Lzo1x_999\n[0x08] SourceSize      : 0x0000021b 539 (ok)\n[0x0c] DestinationSize : 0x00000446 1094\n[0x10] SourceHash      : 0x77908678 (ok)\n[0x14] DestinationHash : 0x26c3f2a9\n[0x18] HeaderHash      : 0x926eb563 (ok)\n[0x1c] ...               0x00000237 567\n```\n* **HeaderId** is the magic number for the 'Lzostream header'\n* **FormatId** is the magic number for the compression method\n* **SourceSize** is the number of bytes for compressed data\n* **DestinationSize** the number of bytes for uncompressed data\n* **SourceHash** is the adler32 hash for the compressed data\n* **DestinationHash** is the adler32 hash for the uncompressed data\n* **HeaderHash** is the crc32 hash for this header (HeaderHash itself excluded)\n### Option -i|--input \\\u003cfile\\\u003e\nSpecifies the input file. File names with space should be enclosed in quotation marks.\n### Option -o|--output \\\u003cfile\\\u003e\nSpecifies the output file. File names with space should be enclosed in quotation marks.\n### Option -f|--format \\\u003cmethod\\\u003e\nSpecifies the compression method. Default compression method is Lzo1x_999.\nAs the used method is part of the lzostream header the correct method is used for decompression.\nIn headerless mode you have to specify the used method.\n### Option -h|--headerless\nIn headerless mode, no lzostream header is written during compression.\nYou must specify the compression method and the block size (target size) when decompressing.\n### Option -l|--limitless\nIn limitless mode, compression does not check whether the compressed data has become larger.\nEven ineffective compression method is then used.\n### Option -b|--block \\\u003csize\\\u003e\nIn headerless decompression you have to specify the size of the decompressed data.\n## Methods\nMore information on the possible compression methods can be found at [Oberhumer LZO](http://www.oberhumer.com/opensource/lzo/).\n## License\nThe source code in this repository is distributed under the terms of [GNU General Public License v2](https://www.gnu.org/licenses/old-licenses/gpl-2.0.html).\nA copy of the GPL license text is part of the repository.\n## Acknowledgements\nWe would like to thank Markus Oberhumer [Oberhumer LZO](http://www.oberhumer.com/opensource/lzo/) who made this work possible.\nLzo was integrated with the Nuget package [lzo-msvc-x86](https://www.nuget.org/packages/lzo-msvc-x86).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgdatasoftwareag%2Flzostream","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgdatasoftwareag%2Flzostream","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgdatasoftwareag%2Flzostream/lists"}