Skip to content

add load_string and save_string apis.#37

Open
leofidus wants to merge 1 commit into
vaaaaanquish:mainfrom
leofidus:save_load_string
Open

add load_string and save_string apis.#37
leofidus wants to merge 1 commit into
vaaaaanquish:mainfrom
leofidus:save_load_string

Conversation

@leofidus

Copy link
Copy Markdown

The in-memory equivalents of load_file and save_file.

Maybe loading from a &[u8] and saving to a Vec would be better to avoid the conversions between c-strings and rust-strings. Or maybe that could be a future api (load_vec, save_vec). Thoughts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant