Name Description Size
ascii.rs 103761
big5.rs 15340
data.rs 2574354
euc_jp.rs 17647
euc_kr.rs 17433
gb18030.rs 29634
handles.rs This module provides structs that use lifetimes to couple bounds checking and space availability checking and detaching those from actual slice reading/writing. At present, the internals of the implementation are safe code, so the bound checks currently also happen on read/write. Once this code works, the plan is to replace the internals with unsafe code that omits the bound check at the read/write time. 69523
iso_2022_jp.rs 45706
lib.rs 247594
macros.rs 74150
mem.rs Functions for converting between different in-RAM representations of text and for quickly checking if the Unicode Bidirectional Algorithm can be avoided. By using slices for output, the functions here seek to enable by-register (ALU register or SIMD register as available) operations in order to outperform iterator-based conversions available in the Rust standard library. _Note:_ "Latin1" in this module refers to the Unicode range from U+0000 to U+00FF, inclusive, and does not refer to the windows-1252 range. This in-memory encoding is sometimes used as a storage optimization of text when UTF-16 indexing and length semantics are exposed. The FFI binding for this module are in the [encoding_c_mem crate](https://github.com/hsivonen/encoding_c_mem). 131529
replacement.rs 3175
shift_jis.rs 17079
simd_funcs.rs 15312
single_byte.rs 37851
test_data
test_labels_names.rs 15992
testing.rs 8321
utf_8.rs 63069
utf_16.rs 18725
variant.rs This module provides enums that wrap the various decoders and encoders. The purpose is to make `Decoder` and `Encoder` `Sized` by writing the dispatch explicitly for a finite set of specialized decoders and encoders. Unfortunately, this means the compiler doesn't generate the dispatch code and it has to be written here instead. The purpose of making `Decoder` and `Encoder` `Sized` is to allow stack allocation in Rust code, including the convenience methods on `Encoding`. 17213
x_user_defined.rs 7925