Crates.io | encoding_c_mem |
lib.rs | encoding_c_mem |
version | 0.2.6 |
source | src |
created_at | 2019-08-06 12:34:40.576969 |
updated_at | 2020-05-13 09:02:44.304345 |
description | C API for encoding_rs::mem |
homepage | https://docs.rs/encoding_c_mem/ |
repository | https://github.com/hsivonen/encoding_c_mem |
max_upload_size | |
id | 154526 |
size | 99,938 |
encoding_c_mem is an FFI wrapper for the mem
module of encoding_rs.
Please see the file named COPYRIGHT.
This crate is meant for use in binaries compiled with panic = 'abort'
, which
is required for correctness! Unwinding across FFI is Undefined Behavior, and
this crate does nothing to try to prevent unwinding across the FFI if
compiled with unwinding enabled.
links
value in the Cargo manifest.include_dir
variable from build script so that other build scripts
depending on this crate can rely on it.convert_utf8_to_utf16_without_replacement
, utf8_latin1_up_to
,
and str_latin1_up_to
.char
instead of uint8_t
for 8-bit-unit text in C and C++.