{"id":29031869,"url":"https://github.com/joshvarga/blast","last_synced_at":"2025-10-11T01:18:11.720Z","repository":{"id":57495423,"uuid":"122149709","full_name":"JoshVarga/blast","owner":"JoshVarga","description":"Golang library for both compressing and decompressing data in the PKWare Data Compression Library (DCL) compressed format, otherwise known as \"explode\" and \"implode\" which differ from PKZIP.","archived":false,"fork":false,"pushed_at":"2021-08-08T06:11:56.000Z","size":33,"stargazers_count":17,"open_issues_count":1,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-26T10:05:55.835Z","etag":null,"topics":["compression-algorithm","compression-library","dcl","decompression-library","go"],"latest_commit_sha":null,"homepage":"","language":"Go","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/JoshVarga.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":"2018-02-20T03:11:23.000Z","updated_at":"2024-05-16T10:17:04.000Z","dependencies_parsed_at":"2022-08-31T12:03:41.353Z","dependency_job_id":null,"html_url":"https://github.com/JoshVarga/blast","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/JoshVarga/blast","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoshVarga%2Fblast","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoshVarga%2Fblast/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoshVarga%2Fblast/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoshVarga%2Fblast/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JoshVarga","download_url":"https://codeload.github.com/JoshVarga/blast/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoshVarga%2Fblast/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279005929,"owners_count":26083984,"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","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["compression-algorithm","compression-library","dcl","decompression-library","go"],"created_at":"2025-06-26T10:06:00.031Z","updated_at":"2025-10-11T01:18:11.693Z","avatar_url":"https://github.com/JoshVarga.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# blast [![Go Documentation](http://img.shields.io/badge/go-documentation-blue.svg?style=flat-square)][godocs] [![Travis](https://img.shields.io/travis/JoshVarga/blast.svg?style=flat-square)][travis] \n[godocs]: http://godoc.org/github.com/JoshVarga/blast\n[travis]: https://travis-ci.org/JoshVarga/blast\n\nGolang library for both compressing and decompressing data in the PKWare Data Compression Library (DCL) compressed format,\notherwise known as \"explode\" and \"implode\" which differ from PKZIP.\n\nBased on:\n\nblast.c in ZLIB written by Mark Adler\nhttps://github.com/madler/zlib/blob/master/contrib/blast/blast.c\n\nimplode.c Ladislav Zezula 2003\nhttps://github.com/ladislav-zezula/StormLib/blob/master/src/pklib/implode.c\n\n\n### Installation\n\n\tgo get github.com/JoshVarga/blast\n\n### Features\n    Compress (\"implode\") data using the PKWARE DCL \"implode\" method\n    Decompress (\"explode\") data that has been compressed using PKWARE DCL \"implode\" method\n\n### Example\n\n```\nfunc ExampleNewWriter() {\n\tvar b bytes.Buffer\n\tw := blast.NewWriter(\u0026b, blast.Binary, blast.DictionarySize1024)\n\tw.Write([]byte(\"AIAIAIAIAIAIA\"))\n\tw.Close()\n\tfmt.Println(b.Bytes())\n\t// Output: [0 4 130 36 37 143 128 127]\n}\n\nfunc ExampleNewReader() {\n\tbuff := []byte{0, 4, 130, 36, 37, 143, 128, 127}\n\tb := bytes.NewReader(buff)\n\tr, err := blast.NewReader(b)\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tio.Copy(os.Stdout, r)\n\t// Output: AIAIAIAIAIAIA\n\tr.Close()\n}\n```\n### License\n\nCopyright (c) 2018 Josh Varga\n\nExplode:\nOriginal C version: Copyright (C) 2003, 2012, 2013 Mark Adler,\nversion 1.3, 24 Aug 2013\n\nImplode:\nOriginal C version: Copyright (c) Ladislav Zezula 2003\n\nThis software is provided 'as-is', without any express or implied\nwarranty. In no event will the authors be held liable for any damages\narising from the use of this software.\n\nPermission is granted to anyone to use this software for any purpose,\nincluding commercial applications, and to alter it and redistribute it\nfreely, subject to the following restrictions:\n\n1. The origin of this software must not be misrepresented; you must not\n   claim that you wrote the original software. If you use this software\n   in a product, an acknowledgment in the product documentation would be\n   appreciated but is not required.\n2. Altered source versions must be plainly marked as such, and must not be\n   misrepresented as being the original software.\n3. This notice may not be removed or altered from any source distribution.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshvarga%2Fblast","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoshvarga%2Fblast","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshvarga%2Fblast/lists"}