7 releases

0.1.1 Nov 22, 2020
0.1.0 Nov 22, 2020
0.0.5 Nov 15, 2020
0.0.4 Oct 9, 2019
0.0.2 Mar 18, 2019

#1023 in WebAssembly

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 downloads per month
Used in 10 crates (5 directly)

MIT/Apache

45KB
637 lines

cstring

A super simple library for c strings in web assembly

[dependencies]
cstring = "0.0.4"

javascript

I've also included a very useful es6 module for interacting with strings in web assembly memory

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

Dependencies

~175–320KB