#web-assembly #web #string #assembly #c-string

no-std cstring

A super simple cstring library for WebAssembly

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

#831 in WebAssembly

Download history 25/week @ 2022-11-28 61/week @ 2022-12-05 91/week @ 2022-12-12 72/week @ 2022-12-19 38/week @ 2022-12-26 33/week @ 2023-01-02 45/week @ 2023-01-09 22/week @ 2023-01-16 72/week @ 2023-01-23 89/week @ 2023-01-30 27/week @ 2023-02-06 82/week @ 2023-02-13 112/week @ 2023-02-20 98/week @ 2023-02-27 53/week @ 2023-03-06 30/week @ 2023-03-13

321 downloads per month
Used in 10 crates (5 directly)

MIT/Apache

44KB
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

~200KB