{"id":19682363,"url":"https://github.com/devmanu-de/xbinary","last_synced_at":"2025-02-27T06:43:39.990Z","repository":{"id":183308104,"uuid":"388808624","full_name":"DevManu-de/xbinary","owner":"DevManu-de","description":"xbinary contains useful functions when working with raw binary data.","archived":false,"fork":false,"pushed_at":"2021-09-27T20:52:14.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-10T05:59:31.523Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/DevManu-de.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}},"created_at":"2021-07-23T13:21:04.000Z","updated_at":"2021-09-27T20:52:17.000Z","dependencies_parsed_at":"2023-09-04T04:01:44.694Z","dependency_job_id":null,"html_url":"https://github.com/DevManu-de/xbinary","commit_stats":null,"previous_names":["devmanu-de/xbinary"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevManu-de%2Fxbinary","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevManu-de%2Fxbinary/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevManu-de%2Fxbinary/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevManu-de%2Fxbinary/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DevManu-de","download_url":"https://codeload.github.com/DevManu-de/xbinary/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240990861,"owners_count":19889966,"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-11T18:10:29.051Z","updated_at":"2025-02-27T06:43:39.964Z","avatar_url":"https://github.com/DevManu-de.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# xbinary\n\n## Description\nxbinary contains useful functions when working with raw binary data.\n\n## Usage\nxbinary is equipped with a makefile that allows you to generate a `.a` file.\nTo do so just type `make` in the root directory of the project.\nThe `.a` file will be dropped to the root of the project.\nAll you have to do now is to copy `include/xbinary.h` and `libxbinary.a` to your project and you are good to go. (I assume you know how to link it)\n\n## rotl()\n\u003e 1. Argument is the number to be shifted left\n\u003e 2. Argument is the amount the number should be shifted left\n\u003e\n\n## rotr()\n\u003e 1. Argument is the number to be shifted right\n\u003e 2. Argument is the amount the number should be shifted right\n\u003e\n\n## HIGHESTBIT()\n\u003e 1. Argument is the data type of which the highest bit should be given (unsigned)\n\u003e\n\n## print_bin()\n\u003e 1. Argument is the number to be printed as binary to stdout\n\u003e\n\n## fprint_bin()\n\u003e 1. Argument is the file the number should be printed to in binary\n\u003e 2. Argument is the number\n\u003e\n\n## sprint_bin()\n\u003e 1. Argument is the stream the number should be printed to in binary\n\u003e 2. Argument is the number\n\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevmanu-de%2Fxbinary","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevmanu-de%2Fxbinary","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevmanu-de%2Fxbinary/lists"}