{"id":69501,"library":"ucs2","title":"UCS-2","description":"UCS-2 decoding and encoding functions for Rust.","status":"active","version":"0.3.3","language":"rust","source_language":null,"source_url":"https://github.com/rust-osdev/ucs2-rs","tags":["ucs2","encoding","decoding","unicode"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nucs2 = \"0.3.3\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add ucs2","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"decode","correct":"use ucs2::decode;"}],"quickstart":{"code":"use ucs2::decode;\n\nfn main() {\n    let bytes = [0x00, 0x48, 0x00, 0x69];\n    let result = decode(&bytes).unwrap();\n    println!(\"Decoded: {}\", result);\n}","lang":"rust","description":"Decodes a UCS-2 byte sequence into a string."},"warnings":[],"env_vars":null,"search_vec":"'-2':2,4 'decod':5,13 'encod':7,12 'function':8 'rust':10 'uc':1,3 'ucs2':11 'unicod':14","created_at":"2026-06-17T18:02:36.542905+00:00","updated_at":"2026-06-17T18:02:36.542905+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/rust-osdev/ucs2-rs","github":"https://github.com/rust-osdev/ucs2-rs","docs":"https://docs.rs/ucs2/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}