Registry / utility / ucs2
library0.3.3rscratesunverified

UCS-2 decoding and encoding functions for Rust.

# Cargo.toml [dependencies] ucs2 = "0.3.3"
INSTALL
IMPORT
SIG · UCS2
U
ucs2
utilityrustv0.3.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

decode
use ucs2::decode;

Decodes a UCS-2 byte sequence into a string.

use ucs2::decode; fn main() { let bytes = [0x00, 0x48, 0x00, 0x69]; let result = decode(&bytes).unwrap(); println!("Decoded: {}", result); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.3.3latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Amazon
1
Resources
ucs2 — cargo add ucs2 · libregistry