{"id":28056463,"url":"https://github.com/angelculla/accstr","last_synced_at":"2026-05-05T22:42:14.806Z","repository":{"id":292122098,"uuid":"979890695","full_name":"angelculla/accstr","owner":"angelculla","description":"Class to manage C strings (STRINGZ) safely for ESP32 and Arduino","archived":false,"fork":false,"pushed_at":"2025-05-09T17:38:07.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-12T07:00:06.744Z","etag":null,"topics":["arduino","esp32","safe","simple","strings"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/angelculla.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-05-08T08:26:00.000Z","updated_at":"2025-05-09T17:38:11.000Z","dependencies_parsed_at":"2025-05-08T09:44:43.626Z","dependency_job_id":null,"html_url":"https://github.com/angelculla/accstr","commit_stats":null,"previous_names":["angelculla/accstr"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angelculla%2Faccstr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angelculla%2Faccstr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angelculla%2Faccstr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angelculla%2Faccstr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/angelculla","download_url":"https://codeload.github.com/angelculla/accstr/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253692388,"owners_count":21948316,"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":["arduino","esp32","safe","simple","strings"],"created_at":"2025-05-12T07:00:14.465Z","updated_at":"2026-05-05T22:42:14.762Z","avatar_url":"https://github.com/angelculla.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# accstr\naccstr is a class to manage C strings (STRINGZ) safely\n\nYou can use dynamic memory or an external char array to store the string\ndepending of the constructor called. In any case the max size of the string\nis fixed to avoid heap fragmentation. If you need strings of variable size\nyou should use the standard Arduino class \"String\".\n\nThe methods cpy(), cat() and catc() works safely to avoid range overflows,\nthey cuts the result string if the max size is reached. False is returned\nin that case. There are versions of cpy() and cat() methods to use PROGMEM\nsource strings (see Arduino macro F)\n\nThe size indicated in the constructor is the util number of chars that you\ncan to store in the string. One extra byte is reserved for the ending zero,\ntake care of this if you use an external array.  \n\nDespite using STRINGZ the actual size is managed by an internal variable\ninstead the ending zero. This allow to have zeros inside the string and so\nyou can use this class to store non text data buffers. In any case the\nending zero is allways there.\n\nThe operators =, += and == are overloaded to easily assign, add and compare.\nSee more info in the comments in accstr.h\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fangelculla%2Faccstr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fangelculla%2Faccstr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fangelculla%2Faccstr/lists"}