commit | 04a94831798a099d3d1f893ae5ecad1000a92226 | [log] [tgz] |
---|---|---|
author | Nikolina Ilic <[email protected]> | Thu Nov 07 17:13:08 2024 +0000 |
committer | Nikolina Ilic <[email protected]> | Tue Nov 12 10:45:21 2024 +0000 |
tree | 0e6d9971d4ea8e203593c525fdb9b2df0ac84ee2 | |
parent | a12c5674ea338779d9bdad30e0bb108f285de185 [diff] |
Third-Party Import of: https://crates.io/crates/ucs2 Request Document: go/android3p For CL Reviewers: go/android3p#reviewing-a-cl For Build Team: go/ab-third-party-imports Generated through these steps (in ~src/android/aosp-main-future-without-vendor repo): 1. python3 development/scripts/get_rust_pkg.py -add3prf -v -o /tmp ucs2-0.3.3 2. cp -r /tmp/ucs2-0.3.3/* external/rust/crates/ucs2 Test: - Bug: 375623775 Original import of the code can be found at: https://googleplex-android.googlesource.com/platform/external/rust/crates/ucs2/+/refs/heads/third-party-review. Security Questionnaire: http://b/375623775#comment1 Change-Id: I65b205bebf883d17633867a3fbfebf001e979a2e
UCS-2 handling for Rust.
Note that UCS-2 is the predecessor of UTF-16. It is a fixed-length encoding, and it is used for things like UEFI.
This crate arose out of the needs of the uefi-rs
crate. The code was extracted and placed here for easier maintenance and easier reuse.
Most of the initial code has been contributed by FredrikAleksander.
Licensed under the Mozilla Public License 2.0. See the LICENSE file for the full text.