{"id":20634062,"url":"https://github.com/hokim98/byte-array","last_synced_at":"2026-04-17T21:31:44.502Z","repository":{"id":53763145,"uuid":"174729515","full_name":"HoKim98/byte-array","owner":"HoKim98","description":"A library that supports Java-like series processing with byteorder.","archived":false,"fork":false,"pushed_at":"2023-04-13T06:55:26.000Z","size":15,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-24T05:21:14.803Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HoKim98.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-03-09T18:11:58.000Z","updated_at":"2024-11-22T05:51:54.000Z","dependencies_parsed_at":"2024-05-18T03:03:15.177Z","dependency_job_id":"19784295-6633-4d46-a930-aa27b5c432c1","html_url":"https://github.com/HoKim98/byte-array","commit_stats":null,"previous_names":["kerryeon/byte-array"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/HoKim98/byte-array","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HoKim98%2Fbyte-array","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HoKim98%2Fbyte-array/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HoKim98%2Fbyte-array/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HoKim98%2Fbyte-array/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HoKim98","download_url":"https://codeload.github.com/HoKim98/byte-array/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HoKim98%2Fbyte-array/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31947493,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T17:29:20.459Z","status":"ssl_error","status_checked_at":"2026-04-17T17:28:47.801Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-16T14:23:40.087Z","updated_at":"2026-04-17T21:31:44.468Z","avatar_url":"https://github.com/HoKim98.png","language":"Rust","readme":"# ByteArray\n[![Version](https://docs.rs/byte_array/badge.svg)](https://crates.io/crates/byte_array) \\\nA library that supports `Java`-like series processing.\nThis is useful when you already know the format of your data.\nOn the other hand, the processing of invalid data is relatively poor,\nso it is not recommended to use it for uncertain data.\n\n# Installation\n```toml\n[dependencies]\nbyte_array = \"0.1\"\n```\n\n# Usage\n```rust\nuse byte_array::ByteArray;\n\nfn main() {\n\n    // Create an empty ByteArray\n    let mut ba = ByteArray::new();\n    \n    // Input data\n    let a: f64      = 3.14;\n    let b: u16      = 1234;\n    let c: String   = String::from(\"hello\");\n    \n    // Write data to ByteArray\n    ba.write(\u0026a);\n    // ( Using Operator \u003c\u003c= )\n    ba \u003c\u003c= \u0026b;\n    ba \u003c\u003c= \u0026c;\n    \n    // Read data from ByteArray\n    ba.seek_first();\n    assert_eq!(a, ba.read::\u003cf64\u003e());                // 3.14\n    assert_eq!(b, ba.read_safe::\u003cu16\u003e().unwrap());  // 1234\n    assert_eq!(c, ba.read::\u003cString\u003e());             // \"hello\"\n}\n```\n\n# Supported Data Types\n|   Data Type   | Supported |\n|--------------:|:---------:|\n| bool          | Yes       |\n| u8            | Yes       |\n| u16           | Yes       |\n| u32           | Yes       |\n| u64           | Yes       |\n| u128          | Yes       |\n| i8            | Yes       |\n| i16           | Yes       |\n| i32           | Yes       |\n| i64           | Yes       |\n| i128          | Yes       |\n| f32           | Yes       |\n| f64           | Yes       |\n|---------------|-----------|\n| usize as u64  | Yes       |\n| isize as i64  | Yes       |\n|---------------|-----------|\n| Vec\u003cu8\u003e       | Yes       |\n| String        | Yes       |\n| ByteArray     | Yes       |\n| User-Defined  | Optional  |\n\n# Documentation\n[Docs.rs](https://docs.rs/byte_array)\n\n# License\nDistributed under MIT License since 2019.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhokim98%2Fbyte-array","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhokim98%2Fbyte-array","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhokim98%2Fbyte-array/lists"}