{"id":18479134,"url":"https://github.com/kranfix/dart-circularbuffer","last_synced_at":"2025-04-08T15:34:11.473Z","repository":{"id":42536890,"uuid":"133282376","full_name":"kranfix/dart-circularbuffer","owner":"kranfix","description":"A circular buffer container for Dart","archived":false,"fork":false,"pushed_at":"2024-09-28T16:20:13.000Z","size":36,"stargazers_count":8,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-23T16:11:11.150Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dart","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/kranfix.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}},"created_at":"2018-05-13T23:29:37.000Z","updated_at":"2024-09-28T16:20:14.000Z","dependencies_parsed_at":"2022-09-10T11:20:10.821Z","dependency_job_id":null,"html_url":"https://github.com/kranfix/dart-circularbuffer","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kranfix%2Fdart-circularbuffer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kranfix%2Fdart-circularbuffer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kranfix%2Fdart-circularbuffer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kranfix%2Fdart-circularbuffer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kranfix","download_url":"https://codeload.github.com/kranfix/dart-circularbuffer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247872017,"owners_count":21010155,"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-11-06T12:13:29.744Z","updated_at":"2025-04-08T15:34:10.594Z","avatar_url":"https://github.com/kranfix.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dart-circularbuffer\n\nA circular buffer with a fixed capacity supporting all Dart `List` operations.\n\n```dart\nfinal buffer = CircularBuffer\u003cint\u003e(3)..add(1)..add(2);\nprint(buffer.length); // 2\nprint(buffer.first); // 1\nprint(buffer.isFilled); // false\nprint(buffer.isUnfilled); // true\n\nbuffer.add(3);\nprint(buffer.length); // 3\nprint(buffer.isFilled); // true\nprint(buffer.isUnfilled); // false\n\nbuffer.add(4);\nprint(buffer.first); // 2\n\nbuffer.addHead(4);\nprint(buffer.length); // 3\nprint(buffer[0]); // 4\nprint(buffer[1]); // 1\nprint(buffer[2]); // 2\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkranfix%2Fdart-circularbuffer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkranfix%2Fdart-circularbuffer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkranfix%2Fdart-circularbuffer/lists"}