{"id":27941964,"url":"https://github.com/fumiama/orbyte","last_synced_at":"2025-05-07T11:25:01.002Z","repository":{"id":279244377,"uuid":"937949995","full_name":"fumiama/orbyte","owner":"fumiama","description":"Lightweight \u0026 Safe (buffer-writer | general object) pool.","archived":false,"fork":false,"pushed_at":"2025-04-14T14:20:09.000Z","size":80,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-14T14:52:15.367Z","etag":null,"topics":["buffer-pool","buffering","golang","golang-library","golang-package","memory-allocator","memory-cache","memory-management","memory-pool","memory-pool-allocator","memory-pool-system","memory-pooling","pooling"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fumiama.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,"zenodo":null}},"created_at":"2025-02-24T07:16:43.000Z","updated_at":"2025-04-14T14:20:12.000Z","dependencies_parsed_at":"2025-02-24T15:45:19.038Z","dependency_job_id":"6a226551-a908-4be2-a870-c4c47371bc68","html_url":"https://github.com/fumiama/orbyte","commit_stats":null,"previous_names":["fumiama/orbyte"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fumiama%2Forbyte","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fumiama%2Forbyte/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fumiama%2Forbyte/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fumiama%2Forbyte/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fumiama","download_url":"https://codeload.github.com/fumiama/orbyte/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252867044,"owners_count":21816601,"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-pool","buffering","golang","golang-library","golang-package","memory-allocator","memory-cache","memory-management","memory-pool","memory-pool-allocator","memory-pool-system","memory-pooling","pooling"],"created_at":"2025-05-07T11:25:00.245Z","updated_at":"2025-05-07T11:25:00.983Z","avatar_url":"https://github.com/fumiama.png","language":"Go","readme":"# orbyte\nLightweight \u0026amp; Safe (buffer-writer | general object) pool.\n\n## Quick Start\n```go\npackage main\n\nimport (\n\t\"crypto/rand\"\n\t\"io\"\n\n\t\"github.com/fumiama/orbyte/pbuf\"\n)\n\nfunc main() {\n\tbuf := pbuf.NewBuffer(nil) // Allocate Buffer from pool.\n\tbuf.P(func(buf *pbuf.Buffer) {\n\t\tio.CopyN(buf, rand.Reader, 4096) // Do sth.\n\t})\n\t// After that, buf will be auto-reused on GC.\n\n\tb := pbuf.NewBytes(1024) // Allocate Bytes from pool.\n\tb.V(func(b []byte) {\n\t\trand.Read(b) // Do sth.\n\t})\n\t// After that, b will be auto-reused on GC.\n\n}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffumiama%2Forbyte","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffumiama%2Forbyte","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffumiama%2Forbyte/lists"}