{"id":17682502,"url":"https://github.com/taylorfinnell/io-binary","last_synced_at":"2025-03-30T19:26:26.429Z","repository":{"id":145628732,"uuid":"101228378","full_name":"taylorfinnell/io-binary","owner":"taylorfinnell","description":"Bit level IO for Crystal","archived":false,"fork":false,"pushed_at":"2017-08-23T22:15:54.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-05T22:18:52.275Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Crystal","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/taylorfinnell.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":"2017-08-23T21:57:59.000Z","updated_at":"2017-08-23T21:58:28.000Z","dependencies_parsed_at":"2023-04-27T16:02:01.712Z","dependency_job_id":null,"html_url":"https://github.com/taylorfinnell/io-binary","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/taylorfinnell%2Fio-binary","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taylorfinnell%2Fio-binary/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taylorfinnell%2Fio-binary/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taylorfinnell%2Fio-binary/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/taylorfinnell","download_url":"https://codeload.github.com/taylorfinnell/io-binary/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246367721,"owners_count":20765924,"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-24T09:22:20.134Z","updated_at":"2025-03-30T19:26:26.387Z","avatar_url":"https://github.com/taylorfinnell.png","language":"Crystal","funding_links":[],"categories":[],"sub_categories":[],"readme":"# io-binary\n[![CircleCI](https://circleci.com/gh/taylorfinnell/io-binary.svg?style=svg)](https://circleci.com/gh/taylorfinnell/io-binary)\n\nAn IO implementation that supports bit level reading.\n\n## Installation\n\nAdd this to your application's `shard.yml`:\n\n```yaml\ndependencies:\n  io-binary:\n    github: taylorfinnell/io-binary\n```\n\n## Usage\n\n`require \"io-binary\"`\n\n\n```crystal\nio = IO::Binary.new(Bytes.new(1, 3.to_u8)) # single byte of value 3\n\nio.read_bit # =\u003e 1\nio.read_bit # =\u003e 1\nio.read_bit # =\u003e 0\n```\n\n## Limits\n\nDoes not implement `IO#write`.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaylorfinnell%2Fio-binary","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftaylorfinnell%2Fio-binary","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaylorfinnell%2Fio-binary/lists"}