{"id":23543100,"url":"https://github.com/amiremohamadi/rw","last_synced_at":"2025-04-23T22:03:12.611Z","repository":{"id":97579511,"uuid":"166546570","full_name":"amiremohamadi/rw","owner":"amiremohamadi","description":"A minimal library to parse and work with binary stored files in C++ (read and write lib)","archived":false,"fork":false,"pushed_at":"2019-01-19T13:16:34.000Z","size":19,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-23T22:03:05.431Z","etag":null,"topics":["cplusplus","cpp","file","parser","read","reader","write"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/amiremohamadi.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":"2019-01-19T12:54:34.000Z","updated_at":"2022-06-15T02:45:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"deb63b64-d222-418c-95b1-e714c5f1f999","html_url":"https://github.com/amiremohamadi/rw","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/amiremohamadi%2Frw","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amiremohamadi%2Frw/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amiremohamadi%2Frw/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amiremohamadi%2Frw/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amiremohamadi","download_url":"https://codeload.github.com/amiremohamadi/rw/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250522302,"owners_count":21444511,"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":["cplusplus","cpp","file","parser","read","reader","write"],"created_at":"2024-12-26T06:18:24.320Z","updated_at":"2025-04-23T22:03:12.392Z","avatar_url":"https://github.com/amiremohamadi.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RW\n\u003e A minimal library to parse and work with binary stored files in C++ (read and write lib)\n\nWith Rwlib you can write a list of datatypes (includes your own data types!) in binary mode to a file or read from a file.\n\u003cbr/\u003e\nRead and write (from/to classes and structs) easier than any time!\n\n## How to use\n* Include rw.h to your cpp file\n```c++\n#include \"rw.h\"\n```\n* For example we have and struct like this:\n```c++\nstruct Student {\n    char name[10];\n    int age;\n    int id;\n};\n```\n* And we have a vector of Students:\n```c++\nvector\u003cStudent\u003e list;\n```\n* Now create an object of RW:\n```c++\nRW rw(\"my_students.bin\");\n```\nit will create a file with name \"my_students.bin\"\n* Read and Write data with these two simple commands:\n```c++\nrw.parseToFile(list);\nrw.parseToVec(list);\n```\n\n\u003e There is also an example: \n[example](https://github.com/amiremohamadi/rw/tree/master/example)\n\n## ToDo\n- [ ] Many Things!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famiremohamadi%2Frw","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famiremohamadi%2Frw","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famiremohamadi%2Frw/lists"}