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

#1258 in WebAssembly

Download history 212/week @ 2024-07-20 263/week @ 2024-07-27 347/week @ 2024-08-03 255/week @ 2024-08-10 330/week @ 2024-08-17 271/week @ 2024-08-24 285/week @ 2024-08-31 424/week @ 2024-09-07 363/week @ 2024-09-14 362/week @ 2024-09-21 339/week @ 2024-09-28 367/week @ 2024-10-05 211/week @ 2024-10-12 262/week @ 2024-10-19 253/week @ 2024-10-26 285/week @ 2024-11-02

1,109 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

~115–255KB