{"id":19581647,"url":"https://github.com/hathibelagal-dev/leb128","last_synced_at":"2025-07-05T23:08:14.290Z","repository":{"id":47532847,"uuid":"171714806","full_name":"hathibelagal-dev/LEB128","owner":"hathibelagal-dev","description":"A Dart package that lets you encode and decode LEB128 integers","archived":false,"fork":false,"pushed_at":"2023-05-20T18:34:25.000Z","size":312,"stargazers_count":5,"open_issues_count":3,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-27T09:35:28.605Z","etag":null,"topics":["encoding-decoding","leb128"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/leb128","language":"C++","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/hathibelagal-dev.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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-02-20T17:03:25.000Z","updated_at":"2023-05-26T09:50:16.000Z","dependencies_parsed_at":"2024-11-11T07:37:40.280Z","dependency_job_id":"cc34485c-f314-416e-94a1-52c32d9837e4","html_url":"https://github.com/hathibelagal-dev/LEB128","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hathibelagal-dev/LEB128","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hathibelagal-dev%2FLEB128","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hathibelagal-dev%2FLEB128/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hathibelagal-dev%2FLEB128/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hathibelagal-dev%2FLEB128/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hathibelagal-dev","download_url":"https://codeload.github.com/hathibelagal-dev/LEB128/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hathibelagal-dev%2FLEB128/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263819236,"owners_count":23516122,"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":["encoding-decoding","leb128"],"created_at":"2024-11-11T07:37:31.272Z","updated_at":"2025-07-05T23:08:14.268Z","avatar_url":"https://github.com/hathibelagal-dev.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LEB128 Encoder/Decoder\n\nThis package offers easy-to-use methods that let you encode and decode LEB128 data. LEB128, which is short for **Little Endian Base 128**, is a code compression algorithm that is used in a variety of file formats. The most well-known are WebAssembly's binary `.wasm` and Android's `.dex` files.\n\n## Usage\n\n- You can call the `Leb128.encodeSigned()` method to convert a Dart `int` value into an LEB128 list of bytes. The list is a `Uint8List` object. Use this method for both positive and negative values.\n\n- You can call the `Leb128.encodeUnsigned()` method to convert a Dart `int` value, which is positive, into an LEB128 list of bytes.\n\n- You can call the `Leb128.decodeSigned()` method to convert a `Uint8List` object into a Dart `int` value. Use this method for signed LEB128 integers only.\n\n- You can call the `Leb128.decodeUnsigned()` method to convert a `Uint8List` object into a Dart `int` value. Use this method for unsigned LEB128 integers only.\n\nThis package also offers two utility methods named`Leb128.decodeVarint7()` and `Leb128.decodeVaruint7()`, which are easier to use if you need to convert a single byte of data.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhathibelagal-dev%2Fleb128","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhathibelagal-dev%2Fleb128","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhathibelagal-dev%2Fleb128/lists"}