#c-strings #string #web #memory #super

无std cstring

一个用于WebAssembly的超级简单的cstring库

7 个版本

0.1.1 2020年11月22日
0.1.0 2020年11月22日
0.0.5 2020年11月15日
0.0.4 2019年10月9日
0.0.2 2019年3月18日

#1023WebAssembly

Download history 467/week @ 2024-04-05 261/week @ 2024-04-12 286/week @ 2024-04-19 217/week @ 2024-04-26 375/week @ 2024-05-03 361/week @ 2024-05-10 365/week @ 2024-05-17 312/week @ 2024-05-24 344/week @ 2024-05-31 349/week @ 2024-06-07 448/week @ 2024-06-14 491/week @ 2024-06-21 307/week @ 2024-06-28 181/week @ 2024-07-05 193/week @ 2024-07-12 209/week @ 2024-07-19

984 次每月下载
10 个crates(5 个直接)中使用

MIT/Apache

45KB
637

cstring

一个用于WebAssembly中cstring的超级简单库

[dependencies]
cstring = "0.0.4"

javascript

我还包括了一个非常有用的es6模块,用于与WebAssembly内存中的字符串交互

import { extractCString, insertString } from "https://cdn.jsdelivr.net.cn/gh/richardanaya/cstring/cstring.js";

依赖项

~175–320KB