{"id":16333108,"url":"https://github.com/fzakaria/ascii85","last_synced_at":"2025-03-22T23:31:59.207Z","repository":{"id":140111099,"uuid":"50981390","full_name":"fzakaria/ascii85","owner":"fzakaria","description":"A Java library for working with Ascii85, also called Base85 - a form of binary-to-text encoding","archived":false,"fork":false,"pushed_at":"2020-10-13T02:45:22.000Z","size":29,"stargazers_count":17,"open_issues_count":2,"forks_count":8,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-18T15:43:25.003Z","etag":null,"topics":["decoding","encoding","java"],"latest_commit_sha":null,"homepage":null,"language":"Java","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/fzakaria.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":"2016-02-03T07:11:58.000Z","updated_at":"2024-10-12T18:18:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"b6c38dc6-f7e0-499c-bbff-61d632eac8d1","html_url":"https://github.com/fzakaria/ascii85","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fzakaria%2Fascii85","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fzakaria%2Fascii85/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fzakaria%2Fascii85/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fzakaria%2Fascii85/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fzakaria","download_url":"https://codeload.github.com/fzakaria/ascii85/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245036111,"owners_count":20550661,"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":["decoding","encoding","java"],"created_at":"2024-10-10T23:34:21.121Z","updated_at":"2025-03-22T23:31:59.188Z","avatar_url":"https://github.com/fzakaria.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ascii85\n\n[![Maven Central](https://img.shields.io/maven-central/v/com.github.fzakaria/ascii85.svg)]()\n\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003ecom.github.fzakaria\u003c/groupId\u003e\n  \u003cartifactId\u003eascii85\u003c/artifactId\u003e\n  \u003cversion\u003e1.2\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\nThis is a very simple project with a Ascii85/Base85 codec (decoder \u0026 encoder). The version most similar to what is\nimplemented is the **Adobe Version**.\n\nThis codec supports:\n1. using `u` to pad the last block\n2. using `z` as a short form for all-zero group\n\nIn Ascii85-encoded blocks, whitespace and line-break characters may be present anywhere, including in the middle of a 5-character block, but they must be silently ignored.\n\n\u003e Ascii85, also called Base85, is a form of binary-to-text encoding developed by Paul E. Rutter for the btoa utility.\n\u003e By using five ASCII characters to represent four bytes of binary data (making the encoded size ¹⁄₄ larger than the original,\n\u003eassuming eight bits per ASCII character), it is more efficient than uuencode or Base64, which use four characters\n\u003eto represent three bytes of data (¹⁄₃ increase, assuming eight bits per ASCII character).\n\n[Ascii85](https://en.wikipedia.org/wiki/Ascii85)\n\nThere are some included test cases that use the example given in the wiki link above.\n\n```java\n    @Test\n    public void basicWikiDecodeTest() {\n        String encodedString = \"9jqo^BlbD-BleB1DJ+*+F(f,q/0JhKF\u003cGL\u003eCj@.4Gp$d7F!,L7@\u003c6@)/0JDEF\u003cG%\u003c+EV:2F!,\" +\n                \"O\u003cDJ+*.@\u003c*K0@\u003c6L(Df-\\\\0Ec5e;DffZ(EZee.Bl.9pF\\\"AGXBPCsi+DGm\u003e@3BB/F*\u0026OCAfu2/AKY\" +\n                \"i(DIb:@FD,*)+C]U=@3BN#EcYf8ATD3s@q?d$AftVqCh[NqF\u003cG:8+EV:.+Cf\u003e-FD5W8ARlolDIa\" +\n                \"l(DId\u003cj@\u003c?3r@:F%a+D58'ATD4$Bl@l3De:,-DJs`8ARoFb/0JMK@qB4^F!,R\u003cAKZ\u0026-DfTqBG%G\" +\n                \"\u003euD.RTpAKYo'+CT/5+Cei#DII?(E,9)oF*2M7/c\";\n\n        String solution = \"Man is distinguished, not only by his reason, but by this singular passion from other animals, \"+\n                \"which is a lust of the mind, that by a perseverance of delight in the continued and indefatigable generation \"+\n                \"of knowledge, exceeds the short vehemence of any carnal pleasure.\";\n        assertThat(solution, is(new String(Ascii85.decode(encodedString), StandardCharsets.US_ASCII)));\n    }\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffzakaria%2Fascii85","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffzakaria%2Fascii85","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffzakaria%2Fascii85/lists"}