{"id":16746574,"url":"https://github.com/helightdev/duffer","last_synced_at":"2025-04-10T13:43:16.536Z","repository":{"id":61975091,"uuid":"467182643","full_name":"helightdev/duffer","owner":"helightdev","description":"A pure dart library offering support for netty-like byte buffer manipulation and binary serialization via a pickle inspired system.","archived":false,"fork":false,"pushed_at":"2023-09-08T03:45:02.000Z","size":177,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T12:21:49.317Z","etag":null,"topics":["buffer","dart","flutter","serialization"],"latest_commit_sha":null,"homepage":"","language":"Dart","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/helightdev.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":"2022-03-07T16:56:56.000Z","updated_at":"2024-05-18T10:29:38.000Z","dependencies_parsed_at":"2025-02-17T10:41:44.325Z","dependency_job_id":null,"html_url":"https://github.com/helightdev/duffer","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/helightdev%2Fduffer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helightdev%2Fduffer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helightdev%2Fduffer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helightdev%2Fduffer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/helightdev","download_url":"https://codeload.github.com/helightdev/duffer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248226313,"owners_count":21068181,"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":["buffer","dart","flutter","serialization"],"created_at":"2024-10-13T02:07:10.773Z","updated_at":"2025-04-10T13:43:16.515Z","avatar_url":"https://github.com/helightdev.png","language":"Dart","readme":"\n\n\u003ch1 align=\"center\"\u003e\n  \u003cbr\u003e\n  \u003cimg src=\"https://i.imgur.com/0RcUdK7.png\" alt=\"Duffer Logo\" width=\"256\"\u003e\n  \u003cbr\u003e\n\u003c/h1\u003e\n\n\u003ch4 align=\"center\"\u003e\nA pure dart library offering support for netty-like byte buffer manipulation and binary serialization\nvia a pickle inspired system.\n\u003c/h4\u003e\n\n--- \n\n## Features\n\n|       Feature       |      Status      |\n|:-------------------:|:----------------:|\n|       Buffers       |        ✅         |\n|     Read/Write      |        ✅         |\n|       Get/Set       |        ✅         |\n|    Child Buffers    |        ✅         |\n|      Unpooled       |        ✅         |\n|       Pooled        |        ✅         |\n| Primitive Datatypes |        ✅         |\n|    Hex Encoding     |        ✅         |\n|   Base64 Encoding   |        ✅         | \n|    File Buffers     | ✅ (experimental) |\n|  Streamed Buffers   |        ✅         |\n\n\n\n## Getting started\n\nAfter you've imported the library with\n```dart\nimport 'package:duffer/duffer.dart';\n```\n\nYou can creates buffers via the `Unpooled` and `Pooled`\nutility classes and just write to it and read from it\n```dart\nvar buffer = Unpooled.buffer();\nbuffer.writeLPString(\"Hello World!\");\nbuffer.writeInt32(42);\n\nprint(buffer.readLPString()); // Hello World!\nprint(buffer.readInt32()); // 42\n```\n\nor parse existing data via one of the various extension functions.\n```dart\nvar buffer1 = \"SGVsbG8gV29ybGQ=\".parseBase64();\nvar buffer2 = \"0000000b48656c6c6f20576f726c64\".parseHex();\n```\n\nYou can also encode your buffer using base64 or hex.\n```dart\nprint(buffer.hex);\nprint(buffer.base64);\n```\n\nFor more samples just have a look at the examples folder.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelightdev%2Fduffer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhelightdev%2Fduffer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelightdev%2Fduffer/lists"}