{"id":17034153,"url":"https://github.com/lordnull/erlnetstr","last_synced_at":"2025-10-08T15:37:45.182Z","repository":{"id":1935809,"uuid":"2864741","full_name":"lordnull/erlnetstr","owner":"lordnull","description":"Module for wrapping and unwrapping binaries in netstring format.","archived":false,"fork":false,"pushed_at":"2017-10-28T23:31:52.000Z","size":160,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-28T01:36:43.138Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Erlang","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/lordnull.png","metadata":{"files":{"readme":"README.mkd","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":"2011-11-28T04:04:32.000Z","updated_at":"2017-01-27T18:14:09.000Z","dependencies_parsed_at":"2022-08-29T14:01:37.071Z","dependency_job_id":null,"html_url":"https://github.com/lordnull/erlnetstr","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/lordnull%2Ferlnetstr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lordnull%2Ferlnetstr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lordnull%2Ferlnetstr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lordnull%2Ferlnetstr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lordnull","download_url":"https://codeload.github.com/lordnull/erlnetstr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245026005,"owners_count":20549067,"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-10-14T08:37:33.116Z","updated_at":"2025-10-08T15:37:45.129Z","avatar_url":"https://github.com/lordnull.png","language":"Erlang","funding_links":[],"categories":[],"sub_categories":[],"readme":"Installation / Including\n========================\n\nInclude as one would any other erlang application.  It's a simple library\nstyle, so there is nothing to start.  Uses erlang.mk so anything with a\n`make` file should be able to integrate this fine.\n\nEncoding\n========\n\nPass and `iolist()` to one of the two encode functions.  `encode/1` uses the\nstandard radix of 10.  Both return an `iolist()`.\n\nDecoding\n========\n\nDecoding is a bit more complex due to the nature of streams of binaries.\n`decode/1` will get one started, but unless you are guaranteed\nto always get one string at a time, is of limited use.\n\nUse `decode/2`, passing in the initial binary chunk of the stream,\nand the radix to decode the stream.  The result is a tuple:\n\n`{[binary()], #continuation{}}`\n\nFor the next `decode/2` call, use the `#continuation{}`\nas the second argument.  Each successive call to `decode/2`\nshould use the `#continuation{}` that was returned from the\nprevious `decode`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flordnull%2Ferlnetstr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flordnull%2Ferlnetstr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flordnull%2Ferlnetstr/lists"}