{"id":20491245,"url":"https://github.com/comboy/elixir-binary","last_synced_at":"2025-04-13T16:42:35.046Z","repository":{"id":57479626,"uuid":"88751235","full_name":"comboy/elixir-binary","owner":"comboy","description":"Library for handling binaries in Elixir.","archived":false,"fork":false,"pushed_at":"2018-06-20T21:01:41.000Z","size":19,"stargazers_count":20,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-10T16:08:11.566Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Elixir","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/comboy.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}},"created_at":"2017-04-19T13:55:29.000Z","updated_at":"2024-05-19T17:55:43.000Z","dependencies_parsed_at":"2022-09-20T00:05:56.624Z","dependency_job_id":null,"html_url":"https://github.com/comboy/elixir-binary","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/comboy%2Felixir-binary","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/comboy%2Felixir-binary/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/comboy%2Felixir-binary/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/comboy%2Felixir-binary/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/comboy","download_url":"https://codeload.github.com/comboy/elixir-binary/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248747420,"owners_count":21155448,"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-15T17:21:05.185Z","updated_at":"2025-04-13T16:42:35.020Z","avatar_url":"https://github.com/comboy.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Elixir Binary\n\nSmall library for handling binaries in Elixir. It's a wrapper around erlang :binary, plus a few String-alike functions.\n\nWhen using it instead of erlang's :binary you get more sexy code and typespecs, plus you get some functions that String offers\nlike `reverse/1`, `trim_trailing/2` etc. You should not use String for binaries becaues it operates on codepoints, not bytes.\n\nFull list of functions can be found on [hexdocs](https://hexdocs.pm/binary/Binary.html)\n\nIn edge cases, the behavior is modeled after `Elixir.String`. API will be frozen with version 0.1.0. I'm hoping to collect some\nfeedback first, but I don't plan any breaking API changes.\n\n## Usage\n\nAdd dependency in your mix.exs:\n\n```elixir\ndef deps do\n  [{:binary, \"~\u003e 0.0.5\"}]\nend\n```\n\nEnjoy:\n```elixir\niex\u003c import Binary\niex\u003e [1, 2] |\u003e from_list |\u003e pad_trailing(4) |\u003e reverse |\u003e split_at(-1)\n{\u003c\u003c0, 0, 2\u003e\u003e,  \u003c\u003c1\u003e\u003e}\n```\n\n## License\n\nMIT, check the [LICENSE](LICENSE) file. Just do whatever you like with this.\n\n## Contributing\n\nEven tiny contributions are very much welcome. Just open an issue or pull request on [github](https://github.com/comboy/elixir-binary).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomboy%2Felixir-binary","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcomboy%2Felixir-binary","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomboy%2Felixir-binary/lists"}