{"id":15750312,"url":"https://github.com/objarni/bitmask","last_synced_at":"2025-10-27T03:09:58.174Z","repository":{"id":142954168,"uuid":"426773314","full_name":"objarni/bitmask","owner":"objarni","description":"A header only library for expressing bitmasks readably in C/C++ pre C++14","archived":false,"fork":false,"pushed_at":"2021-11-10T21:01:53.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-06T11:55:22.968Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/objarni.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":"2021-11-10T20:52:50.000Z","updated_at":"2021-11-10T21:01:56.000Z","dependencies_parsed_at":"2023-05-10T14:32:58.507Z","dependency_job_id":null,"html_url":"https://github.com/objarni/bitmask","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/objarni%2Fbitmask","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/objarni%2Fbitmask/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/objarni%2Fbitmask/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/objarni%2Fbitmask/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/objarni","download_url":"https://codeload.github.com/objarni/bitmask/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246429493,"owners_count":20775808,"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-10-04T06:23:37.972Z","updated_at":"2025-10-27T03:09:58.091Z","avatar_url":"https://github.com/objarni.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bitmask\nA header only library for expressing bitmasks readably in C/C++ pre C++14\n\n\n# How to use?\n\n```\n#include \u003cstdio.h\u003e\n#include \"bitmask.h\"\n\nint main() {\n  printf(\"We can now write bitmasks in C easily, no need for C++14 envy. :)\\n\");\n  unsigned int value1 = b(\"1111'1111'1111'1101\");\n  unsigned int value2 = 0xFFFD;\n  printf(\"value1 and value2 have same value: %d == %d\\n\", value1, value2);\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fobjarni%2Fbitmask","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fobjarni%2Fbitmask","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fobjarni%2Fbitmask/lists"}