{"id":26601370,"url":"https://github.com/clonkk/bytesequtils","last_synced_at":"2025-04-09T16:34:11.955Z","repository":{"id":44779816,"uuid":"312260619","full_name":"Clonkk/bytesequtils","owner":"Clonkk","description":"Some utility function to manipulate buffers as string or seq[byte]","archived":false,"fork":false,"pushed_at":"2022-01-25T09:39:33.000Z","size":129,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-01T16:58:32.248Z","etag":null,"topics":["bytesequtils","nim","seq","string"],"latest_commit_sha":null,"homepage":"https://clonkk.github.io/bytesequtils/","language":"Nim","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/Clonkk.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}},"created_at":"2020-11-12T11:47:12.000Z","updated_at":"2025-01-25T00:04:26.000Z","dependencies_parsed_at":"2022-08-25T11:30:38.015Z","dependency_job_id":null,"html_url":"https://github.com/Clonkk/bytesequtils","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clonkk%2Fbytesequtils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clonkk%2Fbytesequtils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clonkk%2Fbytesequtils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clonkk%2Fbytesequtils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Clonkk","download_url":"https://codeload.github.com/Clonkk/bytesequtils/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248067779,"owners_count":21042354,"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":["bytesequtils","nim","seq","string"],"created_at":"2025-03-23T18:39:35.136Z","updated_at":"2025-04-09T16:34:11.934Z","avatar_url":"https://github.com/Clonkk.png","language":"Nim","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bytesequtils\n\nA collections of ``template`` and ``proc`` to make it easier to work with buffer storing data in either ``string`` or ``seq[byte]``\n\nNote that it **doesn't** support ``openArray[byte]``. Conversion to ``string`` do not append `'\\0'` therefore using it for as ``cstring`` or with C-API is **unsafe**.\n\n## Installation\n\n``nimble install bytesequtils``\n\nTo generate the documentation locally use ``nimble doc --project src/bytesequtils.nim --out:docs/`` or ``nimble gendoc``\n\n## Conversion by moving memory\n\nThe goal is to obtains a ``string``representation of ``seq[byte]`` without copy.\nTo accomplish that, it is necessary to ``move`` memory.\nSince ``move``operation can only be done on mutable memory, immutable data will be copied and thus, will be much slower.\n\n## Detailed documentaton\n\nRead the documentation at https://clonkk.github.io/bytesequtils/.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclonkk%2Fbytesequtils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclonkk%2Fbytesequtils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclonkk%2Fbytesequtils/lists"}