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

#1168 in WebAssembly

Download history 11/week @ 2023-12-09 3/week @ 2024-01-06 2/week @ 2024-01-13 35/week @ 2024-02-17 48/week @ 2024-02-24 163/week @ 2024-03-02 217/week @ 2024-03-09 22/week @ 2024-03-16

460 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

~180–320KB