{"id":27903863,"url":"https://github.com/astral-c/bstream","last_synced_at":"2025-07-05T01:39:02.526Z","repository":{"id":76211680,"uuid":"119453240","full_name":"Astral-C/bStream","owner":"Astral-C","description":"A Binary Reader/Writer for C++","archived":false,"fork":false,"pushed_at":"2024-09-13T14:24:01.000Z","size":72,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-09-14T05:19:14.941Z","etag":null,"topics":["bstream","cpp","file-reader"],"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/Astral-C.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":"2018-01-29T23:03:35.000Z","updated_at":"2024-09-13T14:24:04.000Z","dependencies_parsed_at":"2024-09-14T03:14:24.409Z","dependency_job_id":"e127c0b3-40eb-450e-affa-04277596c714","html_url":"https://github.com/Astral-C/bStream","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/Astral-C%2FbStream","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Astral-C%2FbStream/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Astral-C%2FbStream/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Astral-C%2FbStream/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Astral-C","download_url":"https://codeload.github.com/Astral-C/bStream/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252584331,"owners_count":21771945,"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":["bstream","cpp","file-reader"],"created_at":"2025-05-05T22:12:21.091Z","updated_at":"2025-05-05T22:12:21.700Z","avatar_url":"https://github.com/Astral-C.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bStream - A Binary Reader/Writer for C++\nbStream is a header only library for reading and writing big/little endian binary files in C++.\n\nThe library contains two classes, `CFileStream` for reading and writing 'physical' files and `CMemoryStream` which is for creating and modifying files in memory. `CMemoryStream` has two constructors, one for generating a new buffer and one for reading from a pre-existing buffer, when made using a pre-existing buffer the stream will not automatically expand as it would when generating a new buffer. \n\n## Usage\nTo include bStream in your project simply put `#define BSTREAM_IMPLEMENTATION` in _one_ of the files where you are including bStream. Alternatively the provided bstream.cpp can be added to your project's files and it will handle this for you.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastral-c%2Fbstream","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fastral-c%2Fbstream","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastral-c%2Fbstream/lists"}