{"id":16795181,"url":"https://github.com/abonander/display_bytes","last_synced_at":"2025-09-13T03:40:42.719Z","repository":{"id":57619827,"uuid":"97290755","full_name":"abonander/display_bytes","owner":"abonander","description":null,"archived":false,"fork":false,"pushed_at":"2019-08-23T19:45:47.000Z","size":25,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-21T18:06:08.206Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/abonander.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-07-15T03:54:30.000Z","updated_at":"2019-12-16T05:05:02.000Z","dependencies_parsed_at":"2022-09-16T19:22:33.082Z","dependency_job_id":null,"html_url":"https://github.com/abonander/display_bytes","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/abonander/display_bytes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abonander%2Fdisplay_bytes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abonander%2Fdisplay_bytes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abonander%2Fdisplay_bytes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abonander%2Fdisplay_bytes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abonander","download_url":"https://codeload.github.com/abonander/display_bytes/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abonander%2Fdisplay_bytes/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261170425,"owners_count":23119513,"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-13T09:15:37.410Z","updated_at":"2025-06-21T18:06:08.387Z","avatar_url":"https://github.com/abonander.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"`display_bytes` [![Travis](https://img.shields.io/travis/abonander/display_bytes.svg)](https://travis-ci.org/abonander/display_bytes) [![Crates.io](https://img.shields.io/crates/v/display_bytes.svg)](https://crates.io/crates/display_bytes)\n-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------\n\nHuman-readable display of byte sequences.\n\nSupports printing of both UTF-8 and ASCII-only sequences.\n\n```rust\nextern crate display_bytes;\n\nuse display_bytes::{display_bytes, display_bytes_string};\n\nfn main() {\n    let bytes = b\"Hello, world!\\x89\\x90\\xAB\\xCD\";\n    println!(\"{:?}\", bytes);\n    println!(\"{}\", display_bytes(bytes));\n    assert_eq!(display_bytes_string(bytes),\n               \"Hello, world! {{ 89 90 AB CD }}\");\n}\n```\n\n## License\n\nLicensed under either of\n\n * Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)\n * MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)\n\nat your option.\n\n## Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any\nadditional terms or conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabonander%2Fdisplay_bytes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabonander%2Fdisplay_bytes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabonander%2Fdisplay_bytes/lists"}