{"id":19969935,"url":"https://github.com/liigo/zz_urlencoder","last_synced_at":"2025-06-15T05:32:16.938Z","repository":{"id":146072570,"uuid":"81179668","full_name":"liigo/zz_urlencoder","owner":"liigo","description":"`application/x-www-form-urlencoded` encoder FFI for C and Eyuyan","archived":false,"fork":false,"pushed_at":"2017-02-07T07:41:39.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-01T18:14:17.499Z","etag":null,"topics":["urlencode","x-www-form-urlencoded"],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/liigo.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}},"created_at":"2017-02-07T07:29:44.000Z","updated_at":"2017-02-07T07:38:54.000Z","dependencies_parsed_at":"2024-04-19T10:16:11.557Z","dependency_job_id":null,"html_url":"https://github.com/liigo/zz_urlencoder","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/liigo/zz_urlencoder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liigo%2Fzz_urlencoder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liigo%2Fzz_urlencoder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liigo%2Fzz_urlencoder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liigo%2Fzz_urlencoder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/liigo","download_url":"https://codeload.github.com/liigo/zz_urlencoder/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liigo%2Fzz_urlencoder/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259926928,"owners_count":22933131,"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":["urlencode","x-www-form-urlencoded"],"created_at":"2024-11-13T02:52:06.325Z","updated_at":"2025-06-15T05:32:16.894Z","avatar_url":"https://github.com/liigo.png","language":"Rust","readme":"# zz_urlencoder\n`application/x-www-form-urlencoded` encoder FFI for C and Eyuyan\n\nWindows动态链接库，已静态链接C运行库，可供C语言和易语言调用。\n\n需使用Rust 1.15 nightly或以上版本编译：`cargo build --release`。\n\n```rust\n/// 对input文本执行`application/x-www-form-urlencoded`编码，结果写入buf缓冲区\n///\n/// 参数input为UTF-8格式的文本数据地址，inputlen是其字节数\n/// 参数buf为结果缓冲区，buflen是其字节数\n///\n/// 如果缓冲区长度不足以存放编码结果文本，将返回实际所需缓冲区字节数的负值，保持缓冲区内容不变\n/// 如果缓冲区长度足够，将向其写入编码结果文本和结尾'\\0'字符，并返回写入的字节数（正值）\n/// \n/// by Liigo, 20170207.\n#[no_mangle]\npub extern fn form_urlencode(input: i32, inputlen: i32, buf: i32, buflen: i32) -\u003e i32;\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliigo%2Fzz_urlencoder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliigo%2Fzz_urlencoder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliigo%2Fzz_urlencoder/lists"}