{"id":15039710,"url":"https://github.com/tallesl/net-36","last_synced_at":"2025-04-10T00:05:52.200Z","repository":{"id":56315382,"uuid":"15050688","full_name":"tallesl/net-36","owner":"tallesl","description":"Encodes base 10 to base 36 and decodes base 36 to base 10.","archived":false,"fork":false,"pushed_at":"2024-05-23T01:55:54.000Z","size":961,"stargazers_count":22,"open_issues_count":2,"forks_count":9,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T01:51:10.391Z","etag":null,"topics":["base-10","base-36","converter","csharp","decode","dot-net","encode","math","nuget"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tallesl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2013-12-09T15:16:42.000Z","updated_at":"2024-10-27T05:01:15.000Z","dependencies_parsed_at":"2024-06-19T05:22:38.724Z","dependency_job_id":"2826e3ea-0ca4-49f9-8d2c-17bb2a59d69a","html_url":"https://github.com/tallesl/net-36","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/tallesl%2Fnet-36","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tallesl%2Fnet-36/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tallesl%2Fnet-36/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tallesl%2Fnet-36/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tallesl","download_url":"https://codeload.github.com/tallesl/net-36/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247785944,"owners_count":20995644,"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":["base-10","base-36","converter","csharp","decode","dot-net","encode","math","nuget"],"created_at":"2024-09-24T20:43:42.351Z","updated_at":"2025-04-10T00:05:52.166Z","avatar_url":"https://github.com/tallesl.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\r\n    \u003ca href=\"#36\"\u003e\r\n        \u003cimg alt=\"logo\" src=\"Assets/logo-200x200.png\"\u003e\r\n    \u003c/a\u003e\r\n\u003c/p\u003e\r\n\r\n# 36\r\n\r\n[![][build-img]][build]\r\n[![][nuget-img]][nuget]\r\n\r\n[Base 10] to [base 36] and vice versa.\r\n\r\n[build]:     https://github.com/tallesl/net-36/actions\r\n[build-img]: https://github.com/tallesl/net-36/actions/workflows/dotnet.yml/badge.svg\r\n[nuget]:     https://www.nuget.org/packages/36\r\n[nuget-img]: https://badge.fury.io/nu/36.svg\r\n[Base 10]:   https://en.wikipedia.org/wiki/Decimal\r\n[base 36]:   https://en.wikipedia.org/wiki/Base36\r\n\r\n## Usage\r\n\r\n```cs\r\nusing Base36Library;\r\n\r\n// Encoding\r\nBase36.Encode(10);    // returns \"A\"\r\nBase36.Encode(10000); // returns \"7PS\"\r\n\r\n// Decoding\r\nBase36.Decode(\"Z\");   // returns 35L\r\nBase36.Decode(\"10\");  // returns 36L\r\nBase36.Decode(\"7PS\"); // returns 10000L\r\n\r\n// Comparing\r\nBase36.Compare(\"A\", \"A\"); // 0\r\nBase36.Compare(\"A\", \"Z\"); // 1\r\nBase36.Compare(\"Z\", \"A\"); // -1\r\n\r\n// Checking for overflow\r\nBase36.WouldOverflow(\"BARRELROLL\"); // False\r\nBase36.WouldOverflow(\"DOABARRELROLL\"); // True\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftallesl%2Fnet-36","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftallesl%2Fnet-36","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftallesl%2Fnet-36/lists"}